psychopy.org | Reference | Downloads | Github

Gamma correction cannot run "gammaMotionAnalysis"

Hi, I am new to Psychopy and I tried to do gamma correction with my own visual system to calibrate since I don’t have a photometer. I follow the instruction in the textbook by run “gammaMotionNull” first and save the data as .psydat. And then I tried to run gammaMotionAnalysis. However, every time I chose the .psydat file, the program will exit automatically with the error message “libc++abi: terminating with uncaught exception of type NSException”. I looked in the forum and it seems that it is because of python settings? I am not quite sure about what that means and I am wondering if anyone could help me with it.
I am using macOS 11.5.2, Psychopy v2021.2.3 and python 3.6.
Thank you!