Hi, I am trying to install a software called Cantera which uses numpy. When I run the make command, during the installation it gives me the following error:
*/bin/rm -f _build (CXX="g++"; export CXX; CC="g++"; export CC; CFLAGS="-O3 -Wall -fPIC"; export CFLAGS; PURIFY=""; export PURIFY; /usr/bin/python2 setup.py build) Traceback (most recent call last): File "setup.py", line 3, in ? from distutils.core import setup, Extension File "/nfs/carv/d1/people/pradeep/src/numpy-1.3.0/numpy/distutils/__init__.py", line 6, in ? import ccompiler File "/nfs/carv/d1/people/pradeep/src/numpy-1.3.0/numpy/distutils/ccompiler.py", line 7, in ? from distutils import ccompiler ImportError: cannot import name ccompiler make[1]: *** [_build] Error 1 make[1]: Leaving directory `/nfs/carv/d1/people/pradeep/cantera/Cantera/python' make: *** [python] Error 2* My numpy is stored in the following directory */nfs/carv/d1/people/pradeep/src/numpy-1.3.0/ *I am running Linux (Fedora). When I do a sys.path in command line Python, the output is: *['', '/nfs/carv/d1/people/pradeep/src/numpy-1.3.0', '/nfs/carv/d1/people/pradeep/src/numpy-1.3.0/numpy', '/nfs/carv/d1/people/pradeep/cantera', '/nfs/carv/d1/people/pradeep/cantera/bin', '/nfs/carv/d1/people/pradeep/cantera/build/bin/i686-pc-linux-gnu', '/nfs/carv/d1/people/pradeep/cantera/Cantera/python', '/nfs/carv/d1/people/pradeep/cantera/Cantera/python/build/lib.linux-i686-2.4/Cantera', '/nfs/carv/d1/people/pradeep/cantera/Cantera/python/Cantera', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/gtk-2.0'] * I have a lot of unwanted directories as I was trying out different things. Any clues whats going wrong? Thanks
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion