Kivy-python: error while running Hello world

后端 未结 2 1441
终归单人心
终归单人心 2021-01-23 11:06

After installing Kivy, I tried to run a Hello World app, but I get an error. I\'ve google it but cannot find satisfied answer. Here is the error:

[INFO   ] Kivy          


        
2条回答
  •  鱼传尺愫
    2021-01-23 11:50

    I was getting this same error message ("Unable to get a Window, abort.") in a virtualenv installation of kivy (installed directly from GitHub) like so:

    pip install hg+http://bitbucket.org/pygame/pygame
    pip install Cython
    pip install git+git://github.com/kivy/kivy.git 
    

    In my case there was an previous error related to png, so I tried installing pillow in my virtualenv:

    pip install pillow
    

    And it's now working.

提交回复
热议问题