乐趣区

ImportError-libhdf5serialso100-cannot-open-shared

玩树莓派装完 opencv-contrib-python
import cv2碰见这种问题:

ImportError: libhdf5_serial.so.100: cannot open shared object file: No such file or directory

如今作为老鸟的我,看到这种问题已经不慌了哈哈哈哈,直接 GOOGLE……,况且 No such file or directory 有啥可怕的?没有就下载呗!

sudo apt-get install libhdf5-dev
sudo apt-get install libhdf5-serial-dev

sudo apt-get install libcblas-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

最后随手sudo apt-get upgrade

参考自:https://stackoverflow.com/questions/48965309/h5py-import-error-on-libhdf5-serial-so-100

退出移动版