【发布时间】:2020-04-17 11:01:43
【问题描述】:
我尝试使用pip3 install kivymd 安装kivymd,但出现错误:
/tmp/pip-build-46hjob8h/kivy/kivy/include/gl_redirect.h:72:13: fatal error: GL/gl.h: No such file or directory
# include <GL/gl.h>
^~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
看来我必须在我的系统上安装与 GL 相关的库。 我该如何解决这个问题?
【问题讨论】: