'Unhandled internal error'

OS : Mac OS 10.13
PsychoPy version: Standalone PsychoPy 2022.1.1 for Mac OS

Description of problem: When I closed PsychoPy it showed me that there was an unhandled internal error. (I haven’t done anything in PsychoPy, I just downloaded it so am still quite unfamiliar with how it works)

The full error message that I got was:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/boot.py”, line 197, in
File “/Applications/PsychoPy.app/Contents/Resources/boot.py”, line 166, in _run
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 102, in
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 98, in main
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 27, in start_app
AttributeError: ‘NoneType’ object has no attribute ‘MainLoop’

I have the same problem. Waiting for an answer

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/boot.py”, line 197, in
File “/Applications/PsychoPy.app/Contents/Resources/boot.py”, line 166, in _run
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 102, in
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 98, in main
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 27, in start_app
AttributeError: ‘NoneType’ object has no attribute ‘MainLoop’