[centos7]解决报错:ImportError:libSM.so.6:cannot open shared object file:No such file or directory
查看缺少得共享库
yum whatprovides libSM.so.6
解决
1.将opencv版本降至3.x pip install opencv-python==3.4.14.51
2.yum install libSM-1.2.2-2.e17.x86_64 --setopt=protected_multilib=false
报错ImportError:libGL.so.1:cannot open shared object file:No such file or directory
解决
yum install mesa-libGL.x86_64