ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory

在linux服务器运行python报错:

ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory 

Ubuntu系统

apt-get update
apt-get install libglib2.0-dev

CenOS系统

yum update
yum install mesa-libGL.x86_64

你可能感兴趣的:(异常报错,python)