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
How to Execute Python File in Linux
Boto3 Client Noregionerror: You Must Specify a Region Error Only Sometimes
Sharing a Result Queue Among Several Processes
How to Make an Immutable Object in Python
Add Leading Zeros to Strings in Pandas Dataframe
Pandas: Convert Categories to Numbers
How to Pretty Print Nested Dictionaries
Skip Rows During CSV Import Pandas
Which Python Packages Offer a Stand-Alone Event System
Curses-Like Library for Cross-Platform Console App in Python
Sending Messages with Telegram - APIs or Cli
Pandas: Drop a Level from a Multi-Level Column Index
Get Md5 Hash of Big Files in Python
Merge Lists That Share Common Elements
Efficient Way to Apply Multiple Filters to Pandas Dataframe or Series