本文主要是介绍ImportError: libSM.so.6: cannot open shared object file: No such file or directory解决,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Python3环境下,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 pip3 install opencv-python
以及
ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
apt-get update
apt-get install -y libglib2.0-dev
这篇关于ImportError: libSM.so.6: cannot open shared object file: No such file or directory解决的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!