[SciPy-user] SciPY/NumPY - rhel4 installation issues....
Alexander Michael
lxander.m at gmail.com
Thu Nov 1 09:13:28 EDT 2007
On 11/1/07, bruce <bedouglas at earthlink.net> wrote:
> I then did a:
> "python setup.py install" for scipy, and got the following err:
> [root at 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
numpy.
HTH,
Alex
More information about the SciPy-User
mailing list