在eclipse中编译Python-Kivy时出错(Ubuntu14.04)

时间:2016-04-04 09:22:17

标签: python-2.7 python-3.x ubuntu-14.04 kivy kivy-language

我在Ubuntu-14.04上安装python-kivy包。但是在eclipse中编译它时会产生如下错误。我认为它与X11相关,图形相关所以任何人都知道如何解决这个与Python-Kivy相关的错误。

enter code here[INFO              ] Kivy v1.8.0
[INFO              ] [Logger      ] Record log in home/nrcfoss/.kivy/logs/kivy_16-04-04_10.txt
[INFO              ] [Factory     ] 157 symbols loaded
[DEBUG             ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG             ] [Cache       ] register <kv.image> with limit=None, timeout=60s
[DEBUG             ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones
[INFO              ] [Image       ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif 
[DEBUG             ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG             ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600s
[INFO              ] [Text        ] Provider: pygame
[DEBUG             ] [App         ] Loading kv </home/nrcfoss/Documents/EclipseWorkSpace/KIVY/test.kv>
[DEBUG             ] [App         ] kv </home/nrcfoss/Documents/EclipseWorkSpace/KIVY/test.kv> not found
[DEBUG             ] [Window      ] Ignored <egl_rpi> (import error)
[INFO              ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
[WARNING           ] [WinPygame   ] Video: failed (multisamples=2)
[WARNING           ] [WinPygame   ] trying without antialiasing
[ERROR             ] [Window      ] Unable to use pygame
[ERROR             ] [Window      ] The module raised an important error: "Couldn't find matching GLX visual"
Exception kivy.core.CoreCriticalException: CoreCriticalException("Couldn't find matching GLX visual",) in 'kivy.properties.dpi2px' ignored
[DEBUG             ] [Window      ] Ignored <egl_rpi> (import error)
[INFO              ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
[WARNING           ] [WinPygame   ] SDL wrapper failed to import!
[DEBUG             ] [Window      ] Ignored <sdl> (import error)
[DEBUG             ] [Window      ] Ignored <x11> (import error)
[CRITICAL          ] [Window      ] Unable to find any valuable Window provider at all!
[CRITICAL          ] [App         ] Unable to get a Window, abort.

0 个答案:

没有答案