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
Cython installation fails with pip - Cython.Runtime.refnanny extension #1499
Comments
Any ideas what would differ between Ubuntu and CentOS, or Sierra and El Capitan, that could cause this? Could you post a bit more of your log? Do you see
|
Nope, the file never gets cythonized, it does work if I do it by hand. |
I was able to reproduce this on a fresh CentOS 6.x install. Still scratching my head as to what the difference is though... |
And now I can't get it to fail (and getting virtualenv up and running on CentOS is much more of a pain than I had hoped). Any poking around you could do here would be greatly appreciated. |
I created a fresh CentOS 6.x VM
installed python and virtualevn according to https://www.digitalocean.com/community/tutorials/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-4 In a virtual environment, both |
Meanwhile I tried by downloading the master branch onto my Mac and building it using |
Wait. Maybe it's working because of virtualenv? |
Python 2.6 is still supported, though in my CentoOS install the system Python did not have development headers which is of course a blocker for using Cython. |
|
I think I figured this out. It was due to a really old version of setuptools being used. |
I'm not sure whether this is a Cython or a pip issue, but building Cython using
pip install --upgrade cython
failed for me on two quite different python-2.7 installations during the step of building the Cython.Runtime.refnanny extension.
One machine was Mac OS X Sierra with python installed from homebrew and using virtualenv.
The other machine was on our linux cluster running CentOs. Virtualenv was present in both cases.
pathnames above slightly anonymized
The text was updated successfully, but these errors were encountered: