Cannot run experiment on MacBook

I’m having trouble running the experiment on MacBooks.
The experiment is just a very simple Stroop test, and it runs perfectly fine online with Pavlovia.
However, whenever I try to run it offline (not with Pavlovia), the experiment will crash after showing a gray screen for a few seconds. There is no error message, but the sentences below are shown every time I try running the experiment.
スクリーンショット 2021-07-23 20.49.53

The error happened both on my MacBook(macOS Mojave) and my friend’s (macOS Catalina).

If anyone has an idea how to tackle this problem, please let me know.
Thank you.

Hi There,

What version of PsychoPy are you running? There was a bug in 2021.2.0 that should be fixed in 2021.2.1

Hope this helps,
Becca