[SciPy-User] Error installing scipy

Di Zou di_zou@yahoo....
Tue Oct 26 13:52:42 CDT 2010


Hi,

I am trying to install scipy 0.8 on Red Hat 5. I have numpy 1.5.1 and python 
2.6. 

When I do 'python setup.py install --prefix=/share/dizou/local/scipy-0.8' I get 
this error:
  File "setup.py", line 160, in <module>
    setup_package()
  File "setup.py", line 127, in setup_package
    from numpy.distutils.core import setup
  File 
"/share/dizou/local/numpy-1.5.1/lib/python2.6/site-packages/numpy/distutils/__init__.py",
 line 7, in <module>
    import ccompiler
  File 
"/share/dizou/local/numpy-1.5.1/lib/python2.6/site-packages/numpy/distutils/ccompiler.py",
 line 7, in <module>
    from distutils.ccompiler import *
  File 
"/share/dizou/local/numpy-1.5.1/lib/python2.6/site-packages/numpy/distutils/__init__.py",
 line 7, in <module>
    import ccompiler
  File 
"/share/dizou/local/numpy-1.5.1/lib/python2.6/site-packages/numpy/distutils/ccompiler.py",
 line 8, in <module>
    from distutils import ccompiler
ImportError: cannot import name ccompiler
When I do 'which gcc' at the terminal window I get: /usr/bin/gcc
How do I fix this?

Thanks,


Di



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20101026/16145642/attachment.html 


More information about the SciPy-User mailing list