I’m getting an error when trying to install PsychoPy 1.85.6 (Installing 1.85.3 from PyPy w/ pip works fine):
Mah Mac~/Downloads$ pip install PsychoPy-1.85.6.zip
Processing ./PsychoPy-1.85.6.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/private/var/folders/19/3brkp6_j7ll93m9_dxjf6f440000gn/T/pip-DjBlHQ-build/setup.py”, line 14, in
shutil.make_archive(os.path.join(‘psychopy’, ‘psychojs’), ‘zip’, ‘psychojs’)
File “/Users/glupyan/anaconda2/lib/python2.7/shutil.py”, line 537, in make_archive
os.chdir(root_dir)
OSError: [Errno 2] No such file or directory: ‘psychojs’
Mah Mac~/Downloads/PsychoPy-1.85.6$ python setup.py install
Traceback (most recent call last):
File “setup.py”, line 14, in
shutil.make_archive(os.path.join(‘psychopy’, ‘psychojs’), ‘zip’, ‘psychojs’)
File “/Users/glupyan/anaconda2/lib/python2.7/shutil.py”, line 537, in make_archive
os.chdir(root_dir)
OSError: [Errno 2] No such file or directory: ‘psychojs’
Unzip PsychoPy-1.85.6.zip (This makes a “PsychoPy-1.85.6” folder)
Download psychojs-master.zip from GitHub (https://github.com/psychopy/psychojs)
Unzip psychojs-master.zip to the unzipped “PsychoPy-1.85.6” folder
Rename the unzipped folder “psychojs-master” to “psychojs”
(Now you can see “docs”, “psychojs”, “psychopy” and “PsychoPy.egg-info” folders on the same folder)
Make PsychoPy-1.85.6.zip again
(Now this zip file contains psychojs folder that the setup process can find)
Then, try “pip install PsychoPy-1.85.6.zip” again. I have managed to install it this way.
The problem with 1.90.dev2 from “audachang” seems the same, so I believe this could fix it too though I haven’t tested.