[Numpy-discussion] numpy import problem

Hanno Klemm klemm at phys.ethz.ch
Tue Aug 8 04:22:46 CDT 2006


Hello,

finally after sorting out some homemade problems I managed to compile
numpy-1.0b1. If I then start it from the directory where I compiled
it, it works fine. However after I installed numpy with

python setup.py install --prefix=/scratch/python2.4

I get the error message:


Python 2.4.3 (#7, Aug  2 2006, 18:55:46)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File
"/scratch/python2.4/lib/python2.4/site-packages/numpy/__init__.py",
line 39, in ?
    import linalg
  File
"/scratch/python2.4/lib/python2.4/site-packages/numpy/linalg/__init__.py",
line 4, in ?
    from linalg import *
  File
"/scratch/python2.4/lib/python2.4/site-packages/numpy/linalg/linalg.py",
line 24, in ?
    from numpy.linalg import lapack_lite
ImportError:
/scratch/python2.4/lib/python2.4/site-packages/numpy/linalg/lapack_lite.so:
undefined symbol: atl_f77wrap_zgemv__
>>>

I suppose I have to set a path somewhere to the directory where atlas
is installed. How do I do this?

Hanno



-- 
Hanno Klemm
klemm at phys.ethz.ch






More information about the Numpy-discussion mailing list