M
M
Maxim0452019-12-11 21:26:07
Python
Maxim045, 2019-12-11 21:26:07

Why doesn't Python Kivy code run?

The Python Kivy code throws an error on the command line. Please tell me what to do:
5df13498b4030890754476.png
5df134a29e447652858348.png

from kivy.app import App
from kivy.uix.button import Button

class MyApp(App):
    def build(self):
        return Button()

if __name__ == '__main__':
  MyApp().run()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Shatalov, 2019-12-11
@Maxim045

No module named 'PIL'
Is PIL installed?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question