Cython compile error when `python build/build.py`
See original GitHub issueI ran $ python build/build.py --enable_cuda
and the following error was occurred.
Error compiling Cython file:
------------------------------------------------------------
...
cdef int lwork = heevd_work_size(n)
cdef int lrwork = heevd_rwork_size(n)
cdef int liwork = syevd_iwork_size(n)
zheevd(&jobz, &uplo, &n, a_out, &n, w_out, work, &lwork, rwork, &lrwork,
iwork, &liwork, info_out)
^
------------------------------------------------------------
jaxlib/lapack.pyx:837:25: Converting to Python object not allowed without gil
Target //build:install_xla_in_source_tree failed to build
How to resolve?
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Error compiling Cython file in buildozer - python - Stack Overflow
I have already compiled two more programs using buildozer by downgrading cython but now, in this case, I don't know whats happening.
Read more >Error compiling Cython file - Discussions on Python.org
I got this error, whan running python setup.py install for pyrosm-0.6.0. Compiling pyrosm/_arrays.pyx because it depends on /usr/lib/python3.8/ ...
Read more >1788506 – Cython fails to build with Python 3.9 with tests ...
Cython fails to build with Python 3.9.0a2: Traceback (most recent call last): File "/builddir/build/BUILD/cython-0.29.14/runtests.py", line 1269, ...
Read more >python setup.py build_ext --inplace fails with error
As a test, I'm trying to compile a simple cython extension. Cython was installed from Cython-0.14.1.win-amd64-py2.6.exe (gohlke repository) Python is 2.6.
Read more >Source Files and Compilation - Cython's Documentation
Cython code, unlike Python, must be compiled. This happens in two stages: A .pyx (or .py ) file is compiled by Cython to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Glad to hear you got it solved!
I got this error when installing other libs
then I upgrade scipy and work well.
So i leave a note here in case someone need it