~$:pip install opencv-python
测试:$:python
$: import cv2
参考地址:https://pypi.org/project/opencv-python/
问题:ImportError: libSM.so.6: cannot open shared object file: No such file or directory解决
sudo apt-get install -y python-qt4
~$:pip install opencv-python
测试:$:python
$: import cv2
参考地址:https://pypi.org/project/opencv-python/
问题:ImportError: libSM.so.6: cannot open shared object file: No such file or directory解决
sudo apt-get install -y python-qt4