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

SciPy Trac scipy-tickets@scipy....
Mon Apr 1 07:49:22 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 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
 installed
                 # 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:2>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list