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

情到浓时终转凉″ 提交于 2019-12-03 06:02:53

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
Human

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-python; sudo apt-get install -y libcblas-dev libhdf5-dev libhdf5-serial-dev libatlas-base-dev libjasper-dev libqtgui4 libqt4-test

lucidyan

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

sudo apt-get install libatlas-base-dev
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!