在树莓派上安装OpenCV

pip3 install opencv-python

python3

import cv2

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

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
 

然后就可以了

 

你可能感兴趣的:(树莓派)