Instructing PsychoPy to use a different Version of Python

Hello,

I am trying to reuse older PsychoPy experiments, that were made with Version 2021.1.4.
I can open the .psyexp files, but when I try to Run them I get this error:

OSError: Requested PsychoPy version 2021.1.4 does not support installed Python version 3.8. The first version of PsychoPy to support 3.8 was version 2022.1.0.

Try either choosing a different version of PsychoPy or installing a different version of Python - some standalone PsychoPy releases include installers for multiple versions.

So I installed Python 3.7.9. Now I have two installs of Python on my PC. But I still get the same error message. I assume that is because PsychoPy still tries to use Python 3.8.

Can I tell PsychoPy to use Python 3.7.9 instead?
Or do I have to uninstall both Versions and find an installer that installs both versions I want at once?

Btw my OS is Windows 10 and installed Python and PsychoPy over their respective .exe installers.

If you wanna know why I don’t run the files with Version 2022.1.0, that is because I get an error message regarding code elements. Since those experiments used to work I assume this is a fault with using the Version 2022.1.0. I am trying to use the original experiments as much as possible, if only because the person who programmed the custom code for those experiments was a much better programmer than I am and I would most likely need a lot more time to learn what he did and fix it, rather than just getting the right version of PsychoPy to work.

If you are using the app, it comes with its own internal version of Python, which is completely independent of system python and can’t be changed.

You can just download PsychoPy 2021.1.4 to run these specific experiments, and it will have the right version of python. That’s the fast solution. If you want a more in-depth solution you’ll need to share the experiment and the errors you’re getting.

1 Like