Home » » ImportError: libatlas.so.3: cannot open shared object file: No such file or directory

ImportError: libatlas.so.3: cannot open shared object file: No such file or directory

After installing Scipy, when I import optimize from Scipy, the following error occurs. 

Traceback (most recent call last):
  File "", line 1, in
  File "/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/__init__.py", line 130, in
    import add_newdocs
  File "/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in
    from lib import add_newdoc
  File "/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in
    from polynomial import *
  File "/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 18, in
    from numpy.linalg import eigvals, lstsq
  File "/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 47, in
    from linalg import *
  File "/home/allank/SmashCell/local/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 22, in
    from numpy.linalg import lapack_lite
ImportError: libatlas.so.3: cannot open shared object file: No such file or directory


Solution of this problem: 

add the paths to LD_LIBRARY_PATH as advised (see below), then "python setup.py clean;python setup.py build;python setup.py install;"  but the same error persists.

export LAPACK=/usr/lib/lapack/liblapack.so;export ATLAS=/usr/lib/atlas-base/libatlas.so;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/lapack:/usr/lib/atlas-base;

10 Comments:

Leather Jackets for men said...

Thanks for sharing this., Leanpitch provides online training in agile coaches during this lockdown period everyone can use it wisely.

Emily Max said...

I appreciate you giving this useful information.
Hire Someone To Take Online Class

Alex0james said...
This comment has been removed by the author.
jones said...

Thank you for providing this important information.Abogado de DUI Condado de Prince William

christina said...

Exceptional insights from this Criminal Lawyer Fairfax VA! Their commitment to justice and relentless advocacy for clients is truly commendable. I appreciate the informative content, shedding light on crucial legal matters. It's reassuring to know there's a dedicated professional in our community ensuring fair representation and protecting our rights. Grateful for your valuable contributions!

Henry said...

Excelente trabajo del Abogado para Fraude Fiscal. Su experiencia y dedicación son evidentes en cada caso. Aprecio la forma en que defiende los derechos de sus clientes con estrategias legales sólidas. Un aliado confiable en la búsqueda de justicia y la protección de intereses financieros.

rainbow obby said...

You should visit websites like ours, where US students may buy a professional essay writer in a variety of topic areas, and leave it to an expert writer while you get some rest.

Depression Therapy Clinic said...

Thanks for sharing this python code its help me a lot thank you so much

Dinesh said...

Thank you for sharing this fantastic content with us, and do keep blogging. Employer of record India

harperpaul said...

loudoun traffic lawyer
From uncovering the secrets of search engine optimization (SEO) to dissecting the nuances of relevance ranking algorithms, our goal is to provide valuable insights, tips, and resources to help you optimize your information retrieval strategies and stay ahead in this rapidly evolving landscape.

Popular Posts