close

[Solved] ImportError: libcblas.so.3: cannot open shared object file: No such file or directory

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error ImportError: libcblas.so.3: cannot open shared object file: No such file or directory in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How ImportError: libcblas.so.3: cannot open shared object file: No such file or directory Error Occurs?

Today I get the following error ImportError: libcblas.so.3: cannot open shared object file: No such file or directory in python.

How To Solve ImportError: libcblas.so.3: cannot open shared object file: No such file or directory Error ?

  1. How To Solve ImportError: libcblas.so.3: cannot open shared object file: No such file or directory Error ?

    To Solve ImportError: libcblas.so.3: cannot open shared object file: No such file or directory Error You need to install only one package with neccessary shared object for it to work

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

    To Solve ImportError: libcblas.so.3: cannot open shared object file: No such file or directory Error You need to install only one package with neccessary shared object for it to work

Solution 1

What worked for me (I was missing some dependencies):

pip3 install opencv-python 
sudo apt-get install libcblas-dev
sudo apt-get install libhdf5-dev
sudo apt-get install libhdf5-serial-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev 
sudo apt-get install libqtgui4 
sudo apt-get install libqt4-test

Solution 2

You need to install only one package with neccessary shared object for it to work

sudo apt-get install libatlas-base-dev

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read