我的Kivy代码在raspberry pi4上不起作用 我已经安装了每一款pip kivy,但仍然无法工作
我在终端中发现了这个错误:
[INFO ] [Logger ] Record log in /home/pi/.kivy/logs/kivy_21-04-17_18.txt
[INFO ] [Kivy ] v1.11.1
[INFO ] [Kivy ] Installed at "/home/pi/.local/lib/python2.7/site-packages/kivy/__init__.pyc"
[INFO ] [Python ] v2.7.16 (default, Oct 10 2019, 22:02:15)
[GCC 8.3.0]
[INFO ] [Python ] Interpreter at "/usr/bin/python"
[WARNING] [Deprecated ] Python 2 Kivy support has been deprecated. The Kivy release after 1.11.0 will not support Python 2 anymore
[INFO ] [Factory ] 184 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [Window ] Provider: egl_rpi
* failed to add service - already in use?
有人知道我为什么会犯这个错误吗
我有一个树莓皮3,遇到了这个问题
如本thread中所述,您需要启用传统GL驱动程序。您可以通过运行
sudo raspi-config
然后进入Advanced Options
>GL Driver
>;选择Legacy
如果您有任何问题,请告诉我
相关问题 更多 >
编程相关推荐