New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol not found: __PyThreadState_UncheckedGet for compiled Cython, Python 3.5 #1880
Comments
Possibly relevant : pybind/pybind11#314 and https://bugs.python.org/issue26154 |
The failure is only for Python 3.5 on OSX. The compilation there is for Python 3.5.1. I think the Cython wheels are compiling against Python 3.5.3. Am I right in thinking that cython/Cython/Utility/Exceptions.c Line 16 in 7cac3e0
|
Sorry - to clarify, I think it's only failing on OSX, because on Manylinux, we are testing with Python 3.5.3, but with OSX we are testing with Python 3.5.1 (in the h5py case). |
Thank you for your analysis. |
cython/cython#1880 (cherry picked from commit 7e94d42)
cython/cython#1880 (cherry picked from commit f170641)
Is there any update about this issue? |
The issue is resolved since 2017 (Cython 0.27.1) and it was never a problem with Python 3.6 or later. Please make sure you are correctly generating your .c files (look at the first like to see the Cython version that was used). If you can provide information that suggests why there would still be a problem, please bring it up. |
There is a new error after the Cython 0.27 release, found here:
https://travis-ci.org/MacPython/h5py-wheels/jobs/278928715
Testing locally this error does not occur when Cython is installed via:
It does occur when installing without the
--no-cython-compile
module.Any ideas what might be going on?
The text was updated successfully, but these errors were encountered: