1、错误描述
ImportError: libXext.so.6: cannot open shared object file: No such file or directory
2.解决方法
(1)通过 sudo yum whatprovides XXX指令查询缺少的XXX库对应的版本
sudo yum whatprovides libXext.so.6
执行命令后出现以下提示
libXext-1.3.3-3.el7.i686 : X.Org X11 libXext runtime
: library
Repo : base
Matched from:
Provides : libXext.so.6
(2)根据提示安装对应版本的库
sudo yum install libXext-1.3.3-3.el7.x86_64