ImportError:libGL.so.1:cannot open shared object file: No such file or directory.

  • Post author:
  • Post category:其他


ImportError:libGL.so.1:cannot open shared object file: No such file or directory.

本人通过以下方法解决:

将 import matplotlib.pyplot as plt 替换为:

import matplotlib

matplotlib.use(‘TkAgg’)

import matplotlib.pyplot as plt



版权声明:本文为weixin_44487400原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。