

- #Install psychopy how to#
- #Install psychopy install#
- #Install psychopy update#
- #Install psychopy code#
#Install psychopy install#
Scroll down on this page to see install instructions. Also see comments below, where a user succeeded with Atom – an editor which has the same capabilities as Spyder. You can get it to work using the anaconda python distribution. Now go to “Tools –> Preferences –> Run”, and tick “Execute in a dedicated Python interpreter” to make it easy to re-run the experiment without getting errors due to python being shut down when the psychopy module is unloaded.
#Install psychopy code#
You get code completion and in-app documentation which speeds up programming a lot! On Debian-based Linux (Ubuntu / Debian / Linux Mint etc.), just run the following in the terminal sudo apt-get install spyder pylint pyflakes python-rope python-sphinxĬheck that it works by running the following script in spyder: from psychopy import *

I recommend using Spyder as code editor rather than Coder.

("\Lib\site-package")įrom psychopy import * Enabling Spyder for PsychoPy on linux Pros: If you want to use other editors or don’t want psychopy to be in your PYTHONPATH, you can simply load psychopy by adding the following to the top of your scripts: import sys
#Install psychopy update#
When you have chosen your mirror, added the repository: sudo apt-get update The code above is using a German mirror (follow the link to choose another one). Update: you may need to change the keyserver (I have not tested, however): sudo apt-key adv -recv-keys -keyserver hkp://:80 0xA5D32F012649A5A9 See my post PsychoPy – Free and Open Source Experiment builder written in Python for my thoughts on the software.įirst you add the neuro debian repository: wget -O. PsychoPy is an application written in Python for creating experiments (e.g., for psychology or neuroscience). After some searching around on forums and such I found a solution and put it together in one place.
#Install psychopy how to#
This is a short guide on how to install PsychoPy on Linux Mint Debian edition. Installing PsychoPy on Linux Mint was not straight forward.
