How to install directly from internet
Before installing pygame, you are supposed to install a python IDE/editor. Most people use Visual Studio and PyCharm. I’m assuming that you already have PyCharm, or other Python editor/IDLE.
Now go and run command prompt, and copy and paste this:
pip3 install pygame
It may take some time depending on your internet speed. If this command doesn’t work for you, copy and paste this:
sudo easy_install -U pygame
If you get an error “sudo/pip3 is not recognized as internal…”. You need to change your directory in command prompt to python\script. Then run those codes again. If you don’t know how to change the directory in cmd here is the tutorial.
If it says that new update is available, it is not mandatory to update it but you can if you want to just paste it on command prompt
python -m pip install --upgrade pip
It will once again, download and install some packages.