PsychoPy 2024.1.1 Python error?

Having lots of weird problems after installing the .dmg for macOS…

I tried to specify the version of psychopy in the experiment settings to be 2024.1.1, and got the following warning:

OSError: Requested PsychoPy version 2024.1.1 does not support installed Python version 3.8. The last version of PsychoPy to support 3.8 was version 2024.1.0.

Any suggestion on how to fix this would be much appreciated.

Cheers, Jon

One of the weird warnings I’m receiving is:

4.4736 ERROR Plugin psychopy-cedrus entry point requires module psychopy_cedrus, but it cannot be imported.

However, there is no cedrus button box attached to this mac, nor any button box component included in the design… I have no idea what has happened… I uninstalled my previous psychopy (2022.2.4) today and updated to 2024.1.1 (via the dmg), and seem to have landed in the mire…

  1. Specifying the version in Experiment Settings slows down the creation of runtime files, so I would not recommend it. Personally I’m trying to stick to Python 3.8 because I’ve come across an issue whereby 3.10 gives an error in code components when trying to translate nested lists to JS.

  2. I get a similar error for the bbtk. You probably have the cedrus plugin installed. You should be able to ignore the warning or remove the cedrus folder from site packages (on my PC the folder is C:\Users\morys\AppData\Roaming\psychopy3\packages\Python38\site-packages)

Thanks! On a mac I found the following:
/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy_cedrus

Removing this folder didn’t stop the warning:
4.1206 ERROR Plugin psychopy-cedrus entry point requires module psychopy_cedrus, but it cannot be imported.

similarly removing cedrus.py from:
/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/hardware

didn’t stop the warning.

I wonder if this is something new since trying to fix the problems that arose from using plugin installation?

As you say, it probably won’t affect things, it’s just slightly disconcerting.

Cheers, Jon

The issue with 3.8 appearing as not supported will be fixed in 2024.1.2, there’s one point in the code where 2024.1.0 was erroneously listed as the end of 3.8 support (it’s not)

1 Like

I got this error too.

Even after deleting the two psychopy-cedrus files mentioned in the post above.

5.6827 ERROR Plugin psychopy-cedrus entry point requires module psychopy_cedrus, but it cannot be imported.
################# Experiment ended with exit code 0 [pid:853] ##################

In my case, the error crashes the experiment.
O.S. Version macOS Catalina v10.15.7
Psychopy Version v2024.1.1

Is it actually stopping your experiment running? Exit code 0 normally means that the experiment ended normally. At what point does it crash?