Psychopy won’t run any experiments. As soon as I launch it, the screen goes gray or white and then crashes after a couple seconds. I have tried multiple versions of psychopy.
Could you try the 2022.1.3 release? We’ve made a few fixes but I’m not sure if this exact thing was fixed. The error message doesn’t really give us much of a clue what’s different on your machine (I’m afraid it works fine on mine). Have you set the app to have Accessibility access in the security/privacy settings?
I had the same issue, fixed by changing the keyboard backend (as Elise suggested above) to PsychToolbox.
The alternative is to give PsychoPy privileges to control your computer by way of Sys Preferences / Security / Accessibility. I’m not sure why iohub needs that.
I’ve been having this issue as well. Changing input to PsychTookput + Adding PyschoPy to the list of allowed apps for Input Monitoring fixed it. But, I wonder if there is a simpler solution?
Hi,
I had the same problem before, and you can try changing the Keyboard Backend option in the Experimental Design option to “Pyglet.” I could display it normally after the change. I’m also using MacOS, and I hope this helps you.
My project needs iohub, so I cannot change the input to another method.
Not sure if it is related, but it might help debugging.
I had the same issue when running code from the VisualStudio Code terminal (Sonoma 14.5, python 3.10, 2024.1.4), even when using sudo. Interestingly, when running the same code from the Mac OS Terminal.app, it works flawlessly (side note: for Mouse events even when Terminal.app is not allowed Input Monitoring. However Input Monitoring permission is needed for Keyboard events).
Could it be due to some security setting related to the spawning of subprocesses?