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;

26 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.

Rubyrise said...

The "ImportError: libatlas.so.3: cannot open shared object file" error usually indicates a missing shared library file required by a program. To troubleshoot this issue, check dependencies, reinstall the library that provides libatlas.so.3, check the library path, create a symbolic link to point to the existing library file, and recompile if building from source. Address any missing dependencies or incorrect configurations to resolve the ImportError related to libatlas.so.3 manassas criminal lawyer.

Tom Hartley said...

An ImportError related to libatlas.so.3 is a common issue where a Python package that relies on numerical computations, such as NumPy or SciPy, cannot find the necessary shared library file. To resolve this issue, try reinstalling the package using pip or your package manager. Check the dependencies and ensure all required packages are installed correctly. If using a package manager like apt or yum, install libatlas-base-dev or similar packages. If working within a virtual environment, consider recreating the virtual environment and reinstalling the necessary packages. Update libraries and ensure all relevant libraries and packages are up to date to avoid compatibility issues. Check the PATH environment variable to ensure the directory containing libatlas.so.3 is included in your system's PATH environment variable. If these solutions don't resolve the issue, provide more details about your environment, including your operating system, Python version, and relevant package versions.reckless driving virginia penalty

Davidwilly said...

The term "libatlasso" may be a term or name, but its exact meaning is difficult to determine without more context. If you can provide more information, I can assist you better.

is emotional abuse domestic violence in virginia

lucask110198 said...

There appears to be a missing library dependency, usually associated with the ATLAS (Automatically Tuned Linear Algebra Software) library, as indicated by the error "ImportError: libatlas.so.3: cannot open shared object file: No such file or directory". Installing or upgrading the required library package on your system will fix this problem.The general law in the USA is a complex and evolving system rooted in both federal and state jurisdictions. It encompasses a wide range of legal principles, including constitutional, statutory, and case law. The system aims to balance individual rights with public order and safety. While it provides a framework for justice and legal processes, its complexity and variation across states can pose challenges. The ongoing development of laws reflects societal changes and strives to address contemporary issues, maintaining a dynamic legal landscape.
federal appeals attorney

alexdavid021 said...

A personal injury lawyer in Virginia Beach is dedicated to helping injured individuals recover and seek the compensation they deserve. Their expertise and commitment are vital for navigating the challenges of personal injury claims and ensuring that clients receive the support they need to rebuild their lives. personal injury lawyer Virginia Beach

Lisa Mehto said...

In the event that you've been accused of careless driving in Richmond, a gifted lawyer can have a significant effect. Our Richmond careless driving attorneys represent considerable authority in upholding clients against extreme punishments and permit suspensions. With a profound comprehension of Virginia transit regulations, we give forceful portrayal and customized techniques to safeguard your privileges. Whether it's arranging decreased charges or battling in court, our group is devoted to accomplishing the most ideal result for your case. Reach us today for a counsel.reckless driving lawyer richmond va

Robert said...

The error "ImportError: libatlas.so.3: cannot open shared object file" indicates that the ATLAS library is missing or not ||New Jersey Extreme Risk Protection Order||Protección Orden Nueva Jersey properly installed on your system.

Ryan hugh said...

The `ImportError: libatlasso3: cannot open shared object file` occurs when a required shared library, such as `libatlasso3`, is missing or not found by the system. To resolve this issue, check if the library is installed on your system, check for missing dependencies, update library paths, reinstall dependencies, check for Python virtual environment issues, and consult documentation for specific instructions or known issues. If the issue persists, try reinstalling Python packages or software that depend on `libatlasso3`, check for Python virtual environment issues, and consult the documentation for specific instructions or known issues How to Apply for Divorce in New York.

Diana said...

Encountering the "ImportError: libatlasso3 cannot open" issue can be frustrating, but it's a great opportunity to deepen your understanding of library dependencies and system configuration. By resolving it, you'll enhance your troubleshooting skills and gain valuable experience managing complex software environments. Keep going—every challenge improves your expertise! New York Supreme Court Divorce

clarajohn said...

Thanks for discussing this important issue! driving without a license in fairfax va, can lead to serious consequences, including fines and legal penalties. It’s crucial to be aware of the laws and what steps to take if you find yourself in this situation. If anyone has insights or personal experiences to share, it could really help others navigate the process!

how many mph over is reckless driving in va said...

Great blog! I thoroughly read your blog which is informative and useful for me. Keep update more. how many mph over is reckless driving in va

georgemicheal said...

Great insights in this post! It’s important to understand the role of a skilled prince william dui lawyer, especially when high-profile figures like Prince William are mentioned. While the situation may seem far removed from most people's lives, it highlights the complexities of DUI cases.

kade joe said...

Great article! If you or someone you know is facing a DWI charge in Fairfax, finding a skilled dwi defense attorney fairfax is crucial. A knowledgeable attorney can make a significant difference in the outcome of the case, helping to navigate the complex legal system and potentially reducing penalties. It’s essential to have someone who understands local laws and can build a strong defense strategy. Thanks for sharing this important information!

lillyjames3321 said...

Great article! If anyone finds themselves in a tough legal situation in Roanoke, I highly recommend seeking a qualified criminal lawyer roanoke. The expertise of a local attorney can make a significant difference in navigating the complexities of the legal system. It’s essential to have someone who understands the specific laws and nuances in our area. Thanks for shedding light on this important topic!

steve Rogers said...

If you’re dealing with allegations of Money Laundering in Virginia, it’s essential to have experienced legal representation on your side. Don’t let misunderstandings jeopardize your future. Contact our knowledgeable attorneys today for a free consultation and let us help you navigate this complex situation with confidence!

Tara said...

The "ImportError: libatlas.so.3 cannot open" message indicates that the ATLAS library, essential for numerical computations in Python packages like NumPy and SciPy, is missing or inaccessible. This error can arise from improper installation, missing dependencies, or environment path issues, hindering the execution of related scripts.
Dui Lawyer Arlington VA






Popular Posts