Ubuntu – How to install kivy under ubuntu

pythonsoftware installation

Can someone provide me with clear install instructions for kivy?

Their install instruction is not very good. But I have tried, which I've found here:

sudo add-apt-repository ppa:kivy-team/kivy
sudo apt-get update
sudo apt-get install kivy

Put their example inside kivytest.py
and get:

Traceback (most recent call last):
  File "kivytest.py", line 1, in <module>
    from kivy.app import App
ImportError: No module named 'kivy'

Best Answer

In ubuntu Kivy is built from the packages python-kivy, python-kivy-examples.

So install following packages.

sudo apt-get install python-kivy python-kivy-examples debhelper python python-all-dev cython libgl1-mesa-dev libgles2-mesa-dev
Related Question