Installing pygame if your Python is installed through Anaconda. To check if your Python is installed through Anaconda, in a Mac/Unix system, go to the command line and enter the following line. which python3 For a Windows system, the equivalent line would be Get-Command python3 If the output of these commands have 'anaconda' in the directory structure, then you can follow the next step. To get pygame, run the following command. python -m pip install pygame (Help file prepared by Anshul Mathur, Jan. 21, 2021)