簡體   English   中英

KivyMD 在 Ubuntu 18.04 上安裝錯誤

[英]KivyMD installation error on Ubuntu 18.04

我嘗試使用pip3 install 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 相關的庫。 我怎樣才能解決這個問題?

使用以下方法安裝 OpenGL 頭文件:

sudo apt install libglew-dev

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM