Importerror: Libcblas.So.3: Cannot Open Shared Object File: No Such File or Directory

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

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

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

You need to upgrade or install again the sklearn 0.18.1 module.

the following works fine in sklearn 0.18.1 version (this is the latest).

from sklearn.multiclass import OneVsRestClassifier

To see your version do:

import sklearn

print('The scikit-learn version is {}.'.format(sklearn.__version__))

To install sklearn 0.18.1 use:

 pip install -U scikit-learn

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

I got the idea from @CharlesDuffy as he mentioned You need to have the same version of OpenSSL installed that your software was compiled against

I uninstalled the library using conda uninstall sentence-transformers. And then installed with pip install -U sentence-transformers.

This solves the issue.

ImportError: libopencv_hdf.so.4.5: cannot open shared object file: No such file or directory

Basically as you said you tried installing opencv for c++ and after getting errors you came back...
Try removing opencv completely from your system
This resource may help. Afterwards install opencv using pip. You can install opencv in a virtual environment to keep both libraries aside. If you have such a usecase.

pip3 install opencv-python  #for python3

pip install opencv-python #for python2

Reference for installing opencv in python

Then try importing the library in your code and execute your code.
Your code will execute successfully and then try installing opencv separately for c++.

And for install opencv for c++, you can refer to this resource also.



Related Topics



Leave a reply



Submit