Name error: PsychoPy will not run experiment

Hello PsychoPy community,

I recently downloaded PsychoPy in hopes of creating an N-back task. I have located some files online, however when I try and run them on my computer (Mac Book Pro 2019 version, running on Big Sur OS) it raises this name error.

I have python downloaded on my computer (I use it for computer science subjects). I am unsure how to proceed and fix this. Would appreciate any help or advice if people have suffered the same error.

Thank you - Cara