简体   繁体   中英

KivyMD installation error on Ubuntu 18.04

I tried to install kivymd using pip3 install kivymd , but got error:

/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

It seems that I have to install GL-related libs on my system. How can I fix this?

使用以下方法安装 OpenGL 头文件:

sudo apt install libglew-dev

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM