PsychoPy is not currently working on Big Sur (Mac OS 11). There are a few other posts about this. There is a way to bypass this error, which allows you to code in PsychoPy and sync online to run JS, but as of right now there is no known way to run experiments locally on Big Sur.
See here: Psychopy on Big Sur on mac