Answer the question
In order to leave comments, you need to log in
Why doesn't the Python kIvy window open?
I'm watching a tutorial on Kivy and in PyCharm to implement a window call with a button with text....but instead it is displayed in the console in red:
[INFO ] [Logger ] Record log in C:\Users\[computer name type]\.kivy\ logs\kivy_18-08-01_0.txt
[INFO ] [Kivy ] v1.10.1
[INFO ] [Python ] v3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 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
Code itself:
from kivy.app import App
from kivy.uix.button import Button
class MyApp(App):
def build(self):
return Button(text = "Это моя первая кнопка")
if __name__ == "__test__":
MyApp().run()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question