from kivy.app import App
from Kivy.uix.widget import Widget
class PongGame(Widget):
pass
class PongApp(App):
def build(self):
return PongGame()
if __name__ == '__main__':
PongApp().run()
[INFO ] [Logger ] Record log in C:\Users\Salaz\.kivy\logs\kivy_20-05-07_34.txt
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.2.0
[INFO ] [Kivy ] v1.11.1
[INFO ] [Kivy ] Installed at "C:\Program Files\Python37\lib\site-packages\kivy\__init__.py"
[INFO ] [Python ] v3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
[INFO ] [Python ] Interpreter at "C:\Program Files\Python37\python.exe"
[INFO ] [Factory ] 184 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif (img_sdl2, img_pil, img_ffpyplayer ignored)
Traceback (most recent call last):
File "C:\Python\main.py", line 2, in <module>
from Kivy.uix.widget import Widget
ModuleNotFoundError: No module named 'Kivy'
from kivy.app import App
from Kivy.uix.widget import Widget
File "C:\Python\main.py", line 2, in
from Kivy.uix.widget import Widget
ModuleNotFoundError: No module named 'Kivy'