Пожалуйста, проверьте на наличие ошибок и помогите мне. Я пробовал много разных вещей, но, похоже, ничего не помогло.
Только это отображается после запуска кода, но без окна
import kivy
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
def build(self):
return Label(text='Ola mundo')
if __name__ == "__main__":
MyApp().run()
Полученный журнал:
"C:\Users\anjo pedro\AppData\Local\Programs\Python\Python37\python.exe" "C:/Users/anjo
pedro/PycharmProjects/testando/fllightPlan.py"
[INFO ] [Logger ] Record log in C:\Users\anjo pedro\.kivy\logs\kivy_20-05-01_6.txt
[INFO ] [deps ] Successfully imported "kivy_deps.gstreamer_dev" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.gstreamer" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.angle_dev" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.2.0
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2_dev" 0.2.0
[INFO ] [Kivy ] v1.11.1
[INFO ] [Kivy ] Installed at "C:\Users\anjo
pedro\AppData\Local\Programs\Python\Python37\lib\site-packages\kivy\__init__.py"
[INFO ] [Python ] v3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit
(AMD64)]
[INFO ] [Python ] Interpreter at "C:\Users\anjo
pedro\AppData\Local\Programs\Python\Python37\python.exe"
[INFO ] [Factory ] 184 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 -1073741571 (0xC00000FD)