| Reference | Downloads | Github

Error "[Errno 13] Permission denied" when trying to run demo JND_staircase_exp

Installed PscyhoPy2, v1.85.1 on Windows 10.

First running demo “hello”. It works fine.

Now I am trying to run JND_staircase_exp. I get:

Problem compiling: [Errno 13] Permission denied: 'C:\\Program Files (x86)\\PsychoPy2\\lib\\site-packages\\psychopy\\demos\\coder\\experiment control\\JND_staircase_exp.pyc'

I nevertheless continue. I get the pop-up with observer and reforientation. I click OK. Now I get:

Running: C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\demos\coder\experiment control\
Traceback (most recent call last):
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\demos\coder\experiment control\", line 23, in <module>
toFile('lastParams.pickle', expInfo)  # save params to file for next time
File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\tools\", line 24, in toFile
f = open(filename, 'w')
IOError: [Errno 13] Permission denied: 'lastParams.pickle'

Any help appreciated

Are you running this on a University Computer? It might be that the folder is locked for write access. Try unpacking the demos to a different folder (desktop or something).



Oli, thanks for responding. I am running it on my home computer (PC Windows 10). I was logged in as administrator when installing as well as when running PsychoPy.