ImportError: libSM.so.6: cannot open shared object file: No such file or dir
 
出现错误:
 ImportError: libSM.so.6: cannot open shared object file: No such file or dir
 解决方法:
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
即可解决问题。