--My environment --PC used: MacBook Pro (Retina, 13-inch, Late 2013)
Apparently, this bug occurs on mac and OS after Mojave.
** Install the development version of pygame ** Enter the following command in the terminal.
pip3 install pygame==2.0.0.dev3
I solved it this way, but apparently it can also be solved by updating the python version.
I'm not used to writing articles. If you like, I would appreciate it if you could point out improvements in the comments.