Skip to content Skip to sidebar Skip to footer

Kivy :[critical] [app ] Unable To Get A Window, Abort

I recently installed kivy in my Ubuntu 16.04 machine, and tried to create first application with it as given in the docs. But as soon as I tried running main.py, I got the followin

Solution 1:

Somebody else had the same problem and fixed it by running

sudo apt-get install libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-ttf-2.0-0

See https://github.com/kivy/kivy/issues/3002

Solution 2:

so for install in ubuntu 18, python3:

sudo add-apt-repository ppa:kivy-team/kivy
sudo apt-get install python3-kivy
sudo apt-get install libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-ttf-2.0-0

Post a Comment for "Kivy :[critical] [app ] Unable To Get A Window, Abort"