I've tried to use my installed pygame module in a script, but got an error "No module named 'pygame.base'". I am using a Mac. My Python version is 3.10.9.
I have searched for solutions available and tried to run pip3 uninstall pygame
, pip cache purge
, and pip3 install pygame
to resolve this issue, but this did not help.
Thank you!