Skip to content

部分部署报错的解决方案

alisen edited this page May 6, 2020 · 2 revisions

Ubuntu部署

  • 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

Centos部署

在Centos上如果出现上面的报错,可通过whatprovides查找依赖的包名,然后安装。
例如:whatprovides libSM.so.6

Clone this wiki locally