I can't open PsychoPy on MacOs 15.0.1 Macbook Air M2

Hello everyone. I downloaded the app but it is not opening. I just see the window but it quits within a second. I tried everything but couldn’t open it even once. Could you help me with that?
Thank you!

You probably have Psychopy version 2024.2.2, which has a bug creating issues on M2 devices. They released version 2024.2.3, you can download it from GitHub here.

Thank you for your answer. However, I actually have version 2024.2.3, and it doesn’t open. I also tried the other versions.

OK, I’ve found another possible cause of crashes on macos depending on how you shut down. If you closed all the windows before closing the app (which some people do if they come from Windows where closing the window and closing the app are synonymous) then PsychoPy stores the last open window as “None”. That then confuses PsychoPy when you next open because it tries to get the views back to the previous state and there is none.
This will be an easy one to fix now I’ve found it but, in the meantime, you can:
edit your file ~/.psychopy3/appData.cfg to include

lastFrame = builder

and then make sure you close the app by Cmd-Q rather than closing the windows

1 Like

Thank you for your answer. I actually downloaded the previous version, 23.2.3, and it worked. But this time, the problem is that I can’t run the experiment. It says it is not compatible with the Python version, even though my Python is the latest.

Glad you’re able to run the app.

My guess without the exact text of the error message is that you’ve set PsychoPy to useVersion and the version you’ve requested was from before the point where psychopy was compatible with the version of Python you have installed