.. _installation: Installation ============ We try not to reinvent the wheel but bring something innovative to the market. As a consequence, we're focused on our own code and use already existing, high-qualitative third-party libraries where possible. For the rich set of features that Kivy offers, several other libraries are required. If you do not use a specific feature (e.g. video playback) you don't need the corresponding dependency, however. That said, there are one dependency that Kivy **does** require: `Cython `_. In addition, you need a `Python `_ 2.x (**not** 3.x) interpreter. If you want to enable features like windowing (i.e., open a Window), audio/video playback or spelling correction, you must install other dependencies. For these, we recommend `Pygame `_, `Gst-Python `_ and `Enchant `_, respectively. Other optional libraries (mutually interchangable) are: * `OpenCV 2.0 `_: Camera input. * `PIL `_: Image and text display. * `PyCairo `_: Text display. * `PyEnchant `_: Spelling correction. * `Pygame `_ : Window creation, image and text display, audio playback. * `PyGST `_: Audio/video playback and camera input. Stable version -------------- No stable version yet. Development version ------------------- If you want to work with the latest version of Kivy, you must clone and use our source code repository from `Github `_. Ubuntu ~~~~~~ :: $ sudo apt-get install python-setuptools python-pygame python-opengl \ python-gst0.10 python-enchant gstreamer0.10-plugins-good cython python-dev \ build-essential libgl1-mesa-dev libgles2-mesa-dev $ git clone git://github.com/tito/kivy.git $ cd kivy $ python setup.py build_ext --inplace $ python setup.py build_factory Then, add in your environment :: $ export PYTHONPATH=~/path/of/kivy/clone