在将kivy与pycharm一起使用时,我总是会收到此错误消息。在没有奇异果的情况下使用Pycharm很好。
我像网站上所说的那样安装了kivy。我什至重新安装了系统,但仍然收到此错误消息。我以相同的方式在笔记本上安装了kivy,python和pycharm,并且效果很好。两种系统都在Windows 10 64位上运行。该代码是来自kivy教程的一个示例:https://techwithtim.net/tutorials/kivy-tutorial/setup/。在我看来,我无法打开OpelGL,因为在调试时将是下一个
import kivy
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
def build(self):
return Label(text="tech with tim")
if __name__ == "__main__":
MyApp().run()`
C:\Python37\python.exe C:/Users/steph/PycharmProjects/project1/test.py
[INFO ] [Logger ] Record log in C:\Users\steph\.kivy\logs\kivy_19-05-20_42.txt
[INFO ] [Kivy ] v1.10.1
[INFO ] [Python ] v3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Window ] Provider: sdl2
Process finished with exit code -1073741819 (0xC0000005)