Installation on Linux¶
The Arcade library is Python 3.6+ only. Most versions of Linux come with
Python 2.x. You’ll need to install Python 3 and use it instead of the
built-in Python 2.x. (Usually on Linux and Mac, you can type
python once installed. Same with
pip3 instead of
pip to install packages to Python 3.x)
Install Python 3 and some image dependencies:
apt update && sudo apt install -y python3-dev python3-pip libjpeg-dev zlib1g-dev python-gst-1.0
Check that you have at least Python 3.6 with:
If you have version 3.5, you’ll need to find instructions on how to install 3.6 or higher on your distribution instead of 3.5. Starting with Ubuntu 17, 3.6 should come by default. Linux Mint still uses 3.5. Python 3.6.4 Installation Instructions for Mint.
If you everything worked, you should be ready to install Arcade:
sudo pip3 install arcade
Note: For sound support Arcade uses the gstreamer package. This installs only
apt-get and doesn’t support virtual environments well at all.