[Scipy-tickets] [SciPy] #1878: pip install cythonize failure

SciPy Trac scipy-tickets@scipy....
Tue Apr 2 20:11:04 CDT 2013

#1878: pip install cythonize failure
 Reporter:  akrimkevich   |       Owner:  cdavid     
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  Unscheduled
Component:  Build issues  |     Version:  devel      
 Keywords:  cython        |  

Comment(by akrimkevich):

 I used 'pip install cython'. Both python and pip were obtained from

 Replying to [comment:2 rgommers]:
 > 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):
 > {{{
 >             try:
 >                 subprocess.call(['cython', '-o', c_file, pyxfile])
 >             except WindowsError:
 >                 # On Windows cython.exe may be missing if Cython was
 >                 # via distutils. Run the cython.py script instead.
 >                 subprocess.call(
 >                     [sys.executable,
 >                      os.path.join(os.path.dirname(sys.executable),
 >                                   'Scripts', 'cython.py'),
 >                      '-o', c_file, pyxfile],
 >                     shell=True)
 > }}}

Ticket URL: <http://projects.scipy.org/scipy/ticket/1878#comment:3>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list