Getting ready for the upcomming python versions
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.
participants (1)
-
Nadav Horesh