ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
发表于:2023-02-20 |
在虚拟机或容器中运行Python文件报错ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory 解决方法

1.Ubuntu系统
apt-get update
apt-get install libglib2.0-dev
2.CenOS系统
yum update
yum install mesa-libGL.x86_64
上一篇:
python安装torch-geometric库
下一篇:
Python开启HTTP