Kivy错误-无法获取窗口,在Windows 10,Anaconda Python 3.7上中止

时间:2019-05-03 14:58:39

标签: python kivy kivy-language

按照这封信的说明进行操作,并在尝试运行kivy展示演示时遇到此错误。

(base) C:\ProgramData\Anaconda3\share\kivy-examples\demo\showcase>python main.py
[INFO   ] [Logger      ] Record log in C:\Users\MP9293Q\.kivy\logs\kivy_19-05-03_4.txt
[INFO   ] [Kivy        ] v1.10.1
[INFO   ] [Python      ] v3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_pil, img_gif (img_sdl2, img_ffpyplayer ignored)
[CRITICAL] [Window      ] Unable to find any valuable Window provider.
sdl2 - ImportError: DLL load failed: The specified module could not be found.
  File "C:\ProgramData\Anaconda3\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\ProgramData\Anaconda3\lib\site-packages\kivy\core\window\window_sdl2.py", line 26, in <module>
    from kivy.core.window._window_sdl2 import _WindowSDL2Storage

[CRITICAL] [App         ] Unable to get a Window, abort.

0 个答案:

没有答案