How do I install pygame to python 3 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do I install pygame to python 3

5th Jun 2020, 5:23 PM
Adeniyi Olaitan
Adeniyi Olaitan - avatar
9 Answers
+ 4
Yessss!!! Kuba Siekierzyński is absolutely right... But take care that the pip should be in the path(while downloading python, there's an option to add it to the path)... If you find an error, then it means that your pip is not in the path so you can use the keyword 'cd' which means change directory and then put a space and type the location of the pip(most probably it should be inside the scripts)
5th Jun 2020, 7:02 PM
Namit Jain
Namit Jain - avatar
+ 6
Much like any other module: pip install pygame
5th Jun 2020, 5:26 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 2
python -m pip install pygame
5th Jun 2020, 5:34 PM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
Adeniyi Olaitan i think the problem is that your pip was not added to path. You better uninstall python3 and install and you need to check the box of adding to path. Then after do "pip install pipenv" then after do "pip install pygame"
7th Jun 2020, 12:27 PM
Josaphat NGOGA UWIZEYE
Josaphat NGOGA UWIZEYE - avatar
+ 2
Adeniyi Olaitan Yess... I mentioned that in my answer...😊
17th Jun 2020, 3:17 AM
Namit Jain
Namit Jain - avatar
5th Jun 2020, 9:06 PM
Adeniyi Olaitan
Adeniyi Olaitan - avatar
+ 1
Kuba Siekierzyński I'll try that
5th Jun 2020, 9:07 PM
Adeniyi Olaitan
Adeniyi Olaitan - avatar
+ 1
I've done it guys and I found out that I didn't Add to path when installing python so I had to reinstall, its working now, thanks guys
16th Jun 2020, 10:58 PM
Adeniyi Olaitan
Adeniyi Olaitan - avatar
0
type it in comand line
24th Jun 2020, 4:14 PM
John Ambooken
John Ambooken - avatar