cv2安装的几个常见问题

# No module named 'cv2'
pip install opencv-python

# libSM.so.6: cannot open shared object file: No such file or directory
# 使用apt-file
apt-get update
apt-get install apt-file
apt-file update
apt-file search libSM.so.6
apt-get install libsm6
# libXrender.so.1: cannot open shared object file: No such file or directory
apt-get install libxrender1

你可能感兴趣的:(Deep,Learning,Linux,Tensorflow)