Trying to run KIVY, for the first time

前端 未结 2 862
执念已碎
执念已碎 2020-12-11 17:49

I\'m trying to run kivy for the first time. Im using a default program.

from kivy.app import App
from kivy.uix.widget import Widget


class PongGame(Widget):         


        
2条回答
  •  囚心锁ツ
    2020-12-11 18:34

    Maybe it's much more simple, it was for me. On kivy webpage provide a ‘portable package’ for windows OS so you don’t have to install anything “system” wide.

    Then they explain how to make a shortcut to this ‘portable package’ on the Send-to menu. I've pasted the .bat instead of it's shortcut (never said i was smart) and I had (obviously) exacly the same error. If we can call it an error.

    Hope it works for you too.

提交回复
热议问题