0

I am attempting to install Pygame on my computer and keep getting this error.

Command "python setup.py egg_info" failed with error code 1 in C:\Users\admin1\AppData\Local\Temp\pip-install-8fv2luo4\Pygame\

I have already checked if I have wheels, setuptools and pip and have upgraded all of them. I am running Python 3.7.0.

Here is a screenshot of everything.

Pygame installation error

Eric Bishop
  • 469
  • 5
  • 13
  • Possible duplicate of [Been Trying to install pygame with pip. Having no luck](https://stackoverflow.com/questions/51139635/been-trying-to-install-pygame-with-pip-having-no-luck) – skrx Jul 03 '18 at 07:22

2 Answers2

0

PyGame isn't compatible with Python 3.7.0 (with pip apparently). Downgrade to Python 3.6.x

ltd9938
  • 1,444
  • 1
  • 15
  • 29
  • @abccd https://stackoverflow.com/questions/51083680/value-error-when-installing-pygame-through-pycharm?noredirect=1#comment89160323_51083680 – ltd9938 Jul 02 '18 at 20:09
0

Pygame is actually compatible with Python 3.7. You will just need to uninstall the old version for 3.6 and download the new wheel file for 3.7.