Last updated on September 4, 2019
How to Install PsychoPy on Linux Mint
Installing PsychoPy on Linux Mint was not straight forward. This is a short guide on how to install PsychoPy on Linux Mint Debian edition. After some searching around on forums and such I found a solution and put it together in one place. PsychoPy is an application written in Python for creating experiments (e.g., for psychology or neuroscience). See my post PsychoPy – Free and Open Source Experiment builder written in Python for my thoughts on the software..
First you add the neuro debian repository:
wget -O- http://neuro.debian.net/lists/jessie.de-m.full sudo tee /etc/apt/sources.list.d/neurodebian.sources.list sudo apt-key adv --recv-keys --keyserver hkp://pgp.mit.edu:80 0xA5D32F012649A5A9
Update: you may need to change the keyserver (I have not tested, however):
sudo apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9
The code above is using a German mirror (follow the link to choose another one). When you have chosen your mirror, added the repository:
sudo apt-get update
Now you are now ready to install Psychopy and dependencies:
sudo apt-get install psychopy python-wxgtk3.0 python-yaml python-psutil sudo apt-get install python-tables python-yaml python-pyo
Note that you need to change to the proper wxgtk-version (as for 2015-04-15 it was 3.0 on LMDE). Also, if you want to use Pygame you should add that package (python-pygame).
However, you still need to install avbin. Choose your architecture (i.e., 32 or 64) and download from https://code.google.com/p/avbin, go to the directory where you downloaded the file:
tar xfv avbin-linux-x86-64-7.tar.gz | bash install.sh