[SciPy-user] import scipy fails --> ATLAS

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed Feb 27 06:19:15 EST 2002


Hi Pearu,

I have copied all atlas libraries and the new liblapack.a to
/usr/local/atlas

ls -l /usr/local/atlas/
insgesamt 11600
-rw-r--r--    1 root     root      5027632 Feb 27 12:12 libatlas.a
-rw-r--r--    1 root     root       272104 Feb 27 12:12 libcblas.a
-rw-r--r--    1 root     root       344582 Feb 27 12:12 libf77blas.a
-rw-r--r--    1 root     root      5920822 Feb 27 12:12 liblapack.a
-rw-r--r--    1 root     root       300060 Feb 27 12:12 libtstatlas.a

Again import scipy fails

Python 2.1.2 (#1, Feb 25 2002, 18:04:21)
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import scipy
/usr/local/lib/python2.1/site-packages/scipy/linalg/clapack.so:
undefined symbol: clapack_sgetrf
Warning: FFT package not found. Some names will not be available
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.1/site-packages/scipy/__init__.py", line
87, in ?
    names2all(__all__, _level1a, globals())
  File "/usr/local/lib/python2.1/site-packages/scipy/__init__.py", line
37, in names2all
    exec("import %s" % name, gldict)
  File "<string>", line 1, in ?
  File "/usr/local/lib/python2.1/site-packages/scipy/basic1a.py", line
10, in ?
    from scipy.linalg import eig
ImportError: cannot import name eig
>>>

Any idea ?

I guess that the libraries in /usr/lib are preferred. 

Nils



More information about the SciPy-User mailing list