Installation ------------ .. note:: The library is supported for Python 3.7 and newer. System packages ^^^^^^^^^^^^^^^ Install dependencies for pygame first:: $ sudo apt install python3-dev python3-pip python3-numpy libfreetype6-dev libjpeg-dev build-essential $ sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev And upgrade ``pip`` and ``setuptools``:: $ sudo -H pip3 install --upgrade --ignore-installed pip setuptools Installing from PyPi ^^^^^^^^^^^^^^^^^^^^ Install the latest version of the luma.emulator library directly from `PyPI `_:: $ sudo -H pip3 install --upgrade luma.emulator