我试图运行一个用KIVY框架制作的python图形应用程序,然后我在终端上有这个:
root@MZs83nQ1:/home/kruqer/Documents/mybackup/Appoff# python appoff.py
[INFO ] [Logger ] Record log in /root/.kivy/logs/kivy_17-11-09_5.txt
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v2.7.14 (default, Sep 23 2017, 22:06:14)
[GCC 7.2.0]
Traceback (most recent call last):
File "appoff.py", line 2, in <module>
from kivy.app import App
File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 319, in <module>
from kivy.base import runTouchApp, stopTouchApp
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 30, in <module>
from kivy.event import EventDispatcher
File "/usr/lib/python2.7/dist-packages/kivy/event.py", line 8, in <module>
import kivy._event
ImportError: /usr/lib/python2.7/dist-packages/kivy/_event.x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf
我在google上进行了研究,我找到了this topic,我需要将我的sdl2版本降级到2.0.5和2.0.6之间的版本,但是我无法看到我实际运行的是哪个版本并且不知道如何降级它。 我的操作系统是Ubuntu 17.10。