docker环境pip安装opencv报错缺少libSM6.so

方法1:

apt-get install -y python-qt4

apt-get install -y libgl1-mesa-dev

---------------------------------------------------------------

方法2:

pip install opencv-python-headless

如果用到contrib

pip install opencv-contrib-python-headless

©️2020 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页