Skip to content

Instantly share code, notes, and snippets.

@ofgulban
Last active November 18, 2016 19:25
Show Gist options
  • Save ofgulban/5787f165d5adb08add2b8d9d3bea28f1 to your computer and use it in GitHub Desktop.
Save ofgulban/5787f165d5adb08add2b8d9d3bea28f1 to your computer and use it in GitHub Desktop.
Notes about installing psychopy(1.84.2) with conda. Can be useful for people who wants to use minimal amount of packages develop psychopy scripts instead of the standalone installation.

Some terms

Anaconda: full distributor for python packages, uses only conda.
Miniconda: stripped down version of anaconda containing only the bare minimum packages (can use both conda and pip).
conda: a package manager.
pip: another package manager.


To be able to run Psychopy(1.84.2) from Conda with Spyder you need to follow these steps:

  1. Download and install miniconda from here.

For linux and mac, It is a bash file. Run it in the terminal.

  1. use conda to install some dependencies:
conda install configobj numpy scipy matplotlib pyopengl pillow spyder
conda install -c cogsci pyglet=1.2.4
conda install -c cogsci pygame=1.9.2a0
conda install -c conda-forge opencv=3.1.0

If there is a qt related error do:

conda remove qt

Then try installing opencv again


For moviestim2 or moviestim3

Install VLC (for moviestim2 but it gives an error, namely ‘global name vlc not found’)

Moviestim3 can be used instead of moviestim2, but it requires moviepy:

conda install -c jlaforet moviepy=0.2.2.11

Download psychopy source code and extract. In the terminal cd to the extracted psychopy source folder and run:

pip install -e .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment