[Numpy-discussion] ImportError: libatlas.so.3: cannot open shared object file

Allan Kamau kamauallan at gmail.com
Mon Dec 10 05:57:04 EST 2012


I have built and installed numpy on Debian from source successfully as
follows.

export LAPACK=/usr/lib/lapack/liblapack.so;export
ATLAS=/usr/lib/atlas-base/libatlas.so;
python setup.py build;
python setup.py install;

Then I change directory from the numpy sources directory. Then I give the
command "python -c 'import numpy; numpy.test()' I get the error pasted
below. How can I resource this issue?

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File
"/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/__init__.py",
line 130, in <module>
    import add_newdocs
  File
"/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/add_newdocs.py",
line 9, in <module>
    from lib import add_newdoc
  File
"/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/lib/__init__.py",
line 13, in <module>
    from polynomial import *
  File
"/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/lib/polynomial.py",
line 18, in <module>
    from numpy.linalg import eigvals, lstsq
  File
"/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/linalg/__init__.py",
line 47, in <module>
    from linalg import *
  File
"/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/linalg/linalg.py",
line 22, in <module>
    from numpy.linalg import lapack_lite
ImportError: libatlas.so.3: cannot open shared object file: No such file or
directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20121210/cd02471e/attachment.html>


More information about the NumPy-Discussion mailing list