Hello,
I just installed PsychoPy 1.9 using pip on my Python 2.7 virtualenv.
The installation seems to be successful, but I’m having trouble with running demo programs.
The KeyError I mentioned on the title keeps showing for all the demo files (even for helloworld.py) I’ve tried to run.
The following is the error I get:
runfile('C:/Users/user/Miniconda3/envs/py27/Lib/site-packages/psychopy/demos/coder/basic/global_event_keys.py', wdir='C:/Users/user/Miniconda3/envs/py27/Lib/site-packages/psychopy/demos/coder/basic')
Traceback (most recent call last):
File "<ipython-input-24-1322ae000dc9>", line 1, in <module>
runfile('C:/Users/user/Miniconda3/envs/py27/Lib/site-packages/psychopy/demos/coder/basic/global_event_keys.py', wdir='C:/Users/user/Miniconda3/envs/py27/Lib/site-packages/psychopy/demos/coder/basic')
File "C:\Users\user\Miniconda3\envs\py27\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile
execfile(filename, namespace)
File "C:\Users\user\Miniconda3\envs\py27\lib\site-packages\spyder\utils\site\sitecustomize.py", line 87, in execfile
exec(compile(scripttext, filename, 'exec'), glob, loc)
File "C:/Users/user/Miniconda3/envs/py27/Lib/site-packages/psychopy/demos/coder/basic/global_event_keys.py", line 17, in <module>
from psychopy import core, event, visual
File "C:\Users\user\Miniconda3\envs\py27\lib\site-packages\psychopy\event.py", line 1245, in <module>
globalKeys = _GlobalEventKeys()
File "C:\Users\user\Miniconda3\envs\py27\lib\site-packages\psychopy\event.py", line 996, in __init__
if prefs.general['shutdownKey']:
File "C:\Users\user\Miniconda3\envs\py27\lib\site-packages\psychopy\preferences\configobj.py", line 583, in __getitem__
KeyError: 'shutdownKey'
The thing is, I can’t even find configobj.py file in preferences folder.
Can anyone give me some advice?