[SciPy-User] Error installing Scipy from repository with latest Cython installed
Rishi Sharma
rishi.sharma at gmail.com
Wed May 8 02:07:02 EDT 2013
I'm getting the same error while trying to build the epd numpy and scipy
with cython0.16. The numpy build works smoothly,
In [2]: numpy.__version__
Out[2]: '1.6.1'
but, the development version of scipy fails to compile,
(epd-7.3.2)bash-3.2$ python setup.py install
Cythonizing sources
Processing scipy/special/_ufuncs_cxx.pyx
....
Error compiling Cython file:
------------------------------------------------------------
...
######################################################################
# Function specializers
######################################################################
def get_nonzero_line(np.ndarray[data_t] a):
return <Py_intptr_t> fused_nonzero_line[data_t]
^
------------------------------------------------------------
_ni_label.pyx:96:50: Type not in fused type
Traceback (most recent call last):
File
"/home/rishi/.python_environments/epd-7.3.2/src/scipy/tools/cythonize.py",
line 188, in <module>
main()
File
"/home/rishi/.python_environments/epd-7.3.2/src/scipy/tools/cythonize.py",
line 184, in main
find_process_files(root_dir)
File
"/home/rishi/.python_environments/epd-7.3.2/src/scipy/tools/cythonize.py",
line 176, in find_process_files
process(cur_dir, fromfile, tofile, function, hash_db)
File
"/home/rishi/.python_environments/epd-7.3.2/src/scipy/tools/cythonize.py",
line 153, in process
processor_function(fromfile, tofile)
File
"/home/rishi/.python_environments/epd-7.3.2/src/scipy/tools/cythonize.py",
line 71, in process_pyx
raise Exception('Cython failed')
Exception: Cython failed
Traceback (most recent call last):
File "setup.py", line 230, in <module>
setup_package()
File "setup.py", line 223, in setup_package
generate_cython()
File "setup.py", line 159, in generate_cython
raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
(epd-7.3.2)bash-3.2$ cython --version
Cython version 0.16
On Friday, April 26, 2013 7:28:37 AM UTC-7, Jose Guzman wrote:
>
> Hi everybody,
>
> I am trying to install the latest developmental version of Scipy, for
> that i did:
>
> >>> git clone https://github.com/scipy/scipy.git Scipy
>
> when I enter in the Scipy folder and type
> >>> python setup.py build,
>
> I found the following error:
>
> Exception: Cython failed
> Traceback (most recent call last):
> File "setup.py", line 229, in <module>
> setup_package()
> File "setup.py", line 222, in setup_package
> generate_cython()
> File "setup.py", line 159, in generate_cython
> raise RuntimeError("Running cythonize failed!")
> RuntimeError: Running cythonize failed!
>
>
> My cython version is:
> >>> cython --version 0.19
>
> Any ideas?
>
> Thanks in advance
>
>
> --
> Jose Guzman
> http://www.ist.ac.at/~jguzman/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20130508/cb8efd8f/attachment.html>
More information about the SciPy-User
mailing list