The problem of running multiple versions of PsychoPy

I have installed two versions of PsychoPy (2025 and 2021). However, for the 2021.2.3 version of PsychoPy, only the runner can be opened. When I try to open the builder and coder, they flash once and then there is no response, and the interface doesn’t come out. But the 2025 version can be used normally.

The problem is that I have other uses for the 2021.2.3 version, so I must open it. I don’t know where the problem lies. Can anyone help me? Thank you very much!

p.s. the error:Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app_psychopyApp.py”, line 606, in showBuilder
self.newBuilderFrame()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app_psychopyApp.py”, line 590, in newBuilderFrame
fileName=fileName, app=self)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 233, in init
self._mgr.LoadPerspective(self.frameData[‘auiPerspective’])
File “C:\Program Files\PsychoPy\lib\site-packages\wx\lib\agw\aui\framemanager.py”, line 5522, in LoadPerspective
pane = self.LoadPaneInfo(pane_part, pane)
File “C:\Program Files\PsychoPy\lib\site-packages\wx\lib\agw\aui\framemanager.py”, line 5395, in LoadPaneInfo
raise Exception(“Bad perspective string”)
Exception: Bad perspective string

Dear Ino,

I would recommend you remove the 2021.2.3 version of psychopy and then make sure you installed the Compatibility+ version of Psychopy 2025.x.x. Then if you look under settings/properties you’ll see a “Use Psychopy version” field. Select the version of psychopy you need from there.

If that doesn’t work, the way I addressed this issue in our lab is to create a new user login (User B) on your testing computer. Then make sure psychopy 2025 is installed onto User A’s directory. Then install psychopy 2021.2.3 on User B’s account in their specific directory. This way psychopy won’t be upset about conflicting libraries and python versions.

Issac

1 Like