-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
pip install cythonize failure (Trac #1878) #2397
Comments
Attachment added by trac user akrimkevich on 2013-03-28: output.txt |
Title changed from |
@rgommers wrote on 2013-04-01 How did you install Cython? I haven't seen this on Linux yet. On Windows this does happen, we probably need something like this (snippet copied from scikit-image):
|
trac user akrimkevich wrote on 2013-04-03 I used 'pip install cython'. Both python and pip were obtained from homebrew. Replying to [comment:2 rgommers]:
|
@rgommers wrote on 2013-04-03 OK, Cython has this in its setup.py:
Sigh. With pip it should install the cython executable though, not sure why that didn't happen for you. |
Probably fixed by gh-2449. |
Original ticket http://projects.scipy.org/scipy/ticket/1878 on 2013-03-28 by trac user akrimkevich, assigned to @cournape.
When installing scipy using 'pip install -e git+git://github.com/scipy/scipy.git#egg=scipy-dev', the cythonize.py script fails because it attempts to execute the 'cython' program, which it appears is not a byproduct of the install of cython 0.18. Please see attached output.
[[BR]][[BR]]
$ python --version[[BR]]
Python 2.7.3[[BR]][[BR]]
$ python -c "import Cython; print Cython.version"[[BR]]
0.18[[BR]][[BR]]
$ uname -prsv[[BR]]
Darwin 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 i386[[BR]]
An executable cython.py is, however, placed in site-packages. Wrapping it in a script like the following allowed a successful install.
/bin/bash
python /usr/local/lib/python2.7/site-packages/cython.py $@
The text was updated successfully, but these errors were encountered: