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
That is it, now PsychoPy and dependencies are installed. You should be able to run PsychoPy in Linux Mint Debian now (if not, please let me know!).
Edit: today when I tried to run PsychoPy it could not find the module pandas (python-pandas). You might have to install it to get it to work (2015-04-25).
Hello,
Do you have any idea why it might be the case that on Linux mint 18.2 that psychopy would close right after the wizard? I followed this tutorial and got wxpython and avbin to work, but the program won’t stay open after the wizard runs.
Hey Kyle,
I have not, myself, run into that problem. You could try to start PsychoPy in the terminal. That way you’ll get an error message that may give you a hint. If you do that, and post the error message here, I’ll may be of more help. If you don’t manage to solve it by yourself, of course. Let me know,
Erik