python中import cv2遇到的错误及安装方法

从x86_64 + ubuntu14.04 + python3.5中import cv2(opencv3.3), 遇到以下错误:

ImportError: libSM.so.6: cannot open shared object file: No such file or directory
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
ImportError: libXext.so.6: cannot open shared object file: No such file or directory
安装对应的软件包解决:

apt-get install libsm6
apt-get install libxrender1
apt-get install libxext-dev



你可能感兴趣的:(环境配置,DL/ML/AI)