Skip to content Skip to sidebar Skip to footer

Importerror: Libcblas.so.3: Cannot Open Shared Object File: No Such File Or Directory

I am trying to run an Arducam MT9J001 camera on a raspberry pi 3b+. I am getting the following error when I try to run the program, 'ImportError: libcblas.so3: cannot open shared o

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

Solution 3:

Exact same solution as @thvs86 but here's a single 1 line copy-paste so you don't have to insert each command individually:

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

Post a Comment for "Importerror: Libcblas.so.3: Cannot Open Shared Object File: No Such File Or Directory"