Pygame Installation Via Pip
I'm trying to install pygame in my python 2.7. I do it in this python because for some reason if I try to install pip in python 3.7 it won't work. From the terminal I entered: sudo
Solution 1:
Are u using python 2.7.x or 3.x when runing script ?
Possibly, You run command like
python3 example.py
Or you run python example.py
but python --version
is outputting 3.x version if you are using Windows.
Can you try install pygame with pip3 ?
pip3 install pygame
Solution 2:
Hmm.. My suggestion would be,
Go on this website : https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
Delete the current vesion of PyGame (.9.4) and follow the instructions on this video that I found for you on YouTube:
https://www.youtube.com/watch?v=vGb5EX3XjdI
This will give you a tutorial of how to install PyGame 1.9.3 a lower version.
Good luck!
Solution 3:
Try python3 -m pip install -U pygame --user
Post a Comment for "Pygame Installation Via Pip"