PsychoPy will not open

Hi! Unfortunately, when I try running psychPy, the program will not open even though it has been working for weeks prior. I tried uninstalling and reinstalling the program, and when I try and run it, all I get is a loading wheel that fails. I am using Windows 10 on an HP laptop.

After running the following code through the command line, I got the following error message:
C:\Users\maddi>“C:\Program Files\PsychoPy\python.exe” -m
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\”, line 185, in _run_module_as_main
mod_name, mod_spec, code = get_module_details(mod_name, Error)
File “C:\Program Files\PsychoPy\lib\”, line 111, in get_module_details
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy_init
.py", line 44, in
from psychopy.preferences import prefs
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\preferences_init
.py", line 13, in
from . import preferences as prefsLib
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\preferences\”, line 295, in
prefs = Preferences()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\preferences\”, line 73, in init
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\preferences\”, line 199, in loadAll
self.appDataCfg = self.loadAppData()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\preferences\”, line 251, in loadAppData
cfg = ConfigObj(self.paths[‘appDataFile’],
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\contrib\configobj_init
.py", line 1205, in init
self.load(infile, configspec)
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\contrib\configobj_init
.py", line 1302, in _load
raise error
psychopy.contrib.configobj.ParseError: Invalid line \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0
repeated many more times that it exceeded the character limit*****
0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00’) (matched as neither section nor keyword) at line 1.

Thanks for your help!!

1 Like

does it work now? I have the same issue now.

I’ve found a couple of instances of this error on the forum, e.g.

My best suggestion would be to reinstall PsychoPy (the latest version).