-
Notifications
You must be signed in to change notification settings - Fork 599
部分部署报错的解决方案
alisen edited this page May 7, 2020
·
2 revisions
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
apt-get install libsm6
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
apt-get install libxrender1
ImportError: libXext.so.6: cannot open shared object file: No such file or directory
apt-get install libxext-dev
-
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
在Centos上如果出现上面的报错,可通过yum whatprovides
查找依赖的包名,然后安装。
例如:yum whatprovides libSM.so.6
-
如果安装了相关依赖后仍然报上面相同的错误
通过安装python-qt4
可以解决
sudo yum install python-qt4