PsychoPy freezes with keyboard input on MacOS Ventura

OS (e.g. Win10): MacOS Ventura 13.5.1
PsychoPy version (e.g. 1.84.x): 21.1.4 , 21.2.3 , 22.1.4 , 22.2.5 , 23.2.1
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?:
I’m trying to build a simple experiment program with image stimuli, and keyboard input.

What specifically went wrong when you tried that?:

Psychopy gets frozen whenever I try to make a keyboard input after executing the experiment. The error messages I got are the followings:

When I created an experiment that only includes visual stimuli and automatically ends without any keyboard input, it ended well, so I guess keyboard input is a problem.

Referring to the related forum post(Psychopy 2021.2.0 crashing Python on experiment start), I tried to downgrade Psychopy to the older version [ 21.1.4 , 21.2.3 , 22.1.4 , 22.2.5 ], but it still never worked.

I double checked the control access to monitoring input of PsyhoPy is allowed on my laptop.

I’m having the same problem.

Same problem! help!