[Numpy-discussion] Getting ready for the upcomming python versions

Nadav Horesh nadavh@visionsense....
Tue Jul 22 08:03:47 CDT 2008


I am trying to prepare for the trouble-making python3. I installed with
success python2.6b2 and then numpy1.10.  scipy failed to compile with
the following error message:

compile options: '-DNO_ATLAS_INFO=1 -DUSE_VENDOR_BLAS=1
-I/usr/local/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/python2.6 -c'
gcc: scipy/sparse/linalg/dsolve/_zsuperlumodule.c
In file included from scipy/sparse/linalg/dsolve/_superluobject.h:8,
                 from scipy/sparse/linalg/dsolve/_zsuperlumodule.c:32:
scipy/sparse/linalg/dsolve/SuperLU/SRC/scomplex.h:60: error: conflicting
types for '_Py_c_abs'
/usr/local/include/python2.6/complexobject.h:30: error: previous
declaration of '_Py_c_abs' was here
In file included from scipy/sparse/linalg/dsolve/_superluobject.h:8,
                 from scipy/sparse/linalg/dsolve/_zsuperlumodule.c:32:
scipy/sparse/linalg/dsolve/SuperLU/SRC/scomplex.h:60: error: conflicting
types for '_Py_c_abs'
/usr/local/include/python2.6/complexobject.h:30: error: previous
declaration of '_Py_c_abs' was here
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O3 -Wall -Wstrict-prototypes -fPIC -DNO_ATLAS_INFO=1
-DUSE_VENDOR_BLAS=1
-I/usr/local/lib/python2.6/site-packages/numpy/core/include
-I/usr/local/include/python2.6 -c
scipy/sparse/linalg/dsolve/_zsuperlumodule.c -o
build/temp.linux-x86_64-2.6/scipy/sparse/linalg/dsolve/_zsuperlumodule.o" failed with exit status 1

(Both scipy0.60 and the latest from svn fail the same)

My system: Gentoo linux 64 on core2 duo, gcc4.3.1.

My question: Is there a migration plan for the python3? Can a layman
(with some C knowledge) like me help?
Any remarks about the error message above would help.

  Nadav.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080722/73563594/attachment.html 


More information about the Numpy-discussion mailing list