psychopy.org | Reference | Downloads | Github

Installing Psychopy with Anaconda


#1

I’m trying to install Psychopy using Anaconda3. As instructed on the website, I ran the command bellow:

conda config –add channels https://conda.binstar.org/erik conda install -c erik psychopy conda create -n psychopyenv psychopy source activate psychopyenv

but this error pops up:

I also tried to install it from github, without result:

pip install git+git://github.com/psychopy/psychopy.git

Any solution? Thank you


#2

Please see this post:


#3

Oh and regarding the error message: I think you’re not supposed to put all the commands into a single line!


#4

Did you ever get this to work? I’m getting the same error message (OSX).


#5

This seems to work (hiden in Richard’s post):


#6

I came up the same case, and could not find the solution. Any solution would be appreciated.


#7

Sorry,

[edited] that one is only for Python 2.7:

conda install -c cogsci psychopy

Overview here:
https://anaconda.org/CogSci/repo


#8

Best way to go is to create a python 2.7 environment that can coexist with other python 3 environments:

conda create -n psychopyenv python=2.7

and then install psychopy through Erik’s or CogSci’s channel

conda install -c erik psychopy

or

conda install -c cogsci psychopy

at the time of writing this would install versions 1.80 (Erik) and 1.85 (cogsci), so the latter is preferred. If you would like to install directly from github the latest version, then install with

pip install git+git://github.com/psychopy/psychopy.git

but ensure you’re in a Python2 environment !