[SciPy-user] SciPY/NumPY - rhel4 installation issues....

Alexander Michael lxander.m@gmail....
Thu Nov 1 08:13:28 CDT 2007

On 11/1/07, bruce <bedouglas@earthlink.net> wrote:
> I then did a:
>   "python setup.py install" for scipy, and got the following err:
>         [root@mfgtest3 <Branch GodzillaTest1.1.2> scipy-0.6.0]# python setup.py
> install
>         Traceback (most recent call last):
>           File "setup.py", line 53, in ?
>             setup_package()
>           File "setup.py", line 28, in setup_package
>             from numpy.distutils.core import setup
>           File "/usr/lib/python2.4/site-packages/numpy/__init__.py", line 39, in ?
>             import core
>           File "/usr/lib/python2.4/site-packages/numpy/core/__init__.py", line 5,
> in ?
>             import multiarray
>         ImportError: /usr/lib/python2.4/site-packages/numpy/core/multiarray.so:
> undefined symbol:       PyUnicodeUCS2_FromUnicode
> I can't find  anything via google to indicate what's the cause...
> Any thoughts/comments would be seriously helpful!!

This could be a result of your numpy installation being incomplete
(likely do to not being correctly linked to blas/lapack). What happens
when you try:

python -c "import numpy"

on its own? Does it fail with the same error? If so, you need to focus
on numpy. One subtlety to be aware of is that you need to remove the
build directory in your numpy directory whenever you need to rebuild


More information about the SciPy-user mailing list