ImportError: libSM.so.6: cannot open shared object file: No such file or directory解决
Python3环境下在docker虚拟机下安装了opencv以后,在使用的时候出现以下报错,import cv2 提示
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
解决步骤
sudo apt-get update
sudo apt-get install -y python-qt4
import cv2 提示
ImportError: No module named cv2
sudo apt-get install opencv-python
转自https://blog.csdn.net/roxxo/article/details/87166706