Whenever i try to install pygame, it says it has error: subprocess-exited-with-error python setup.py egg_info did not run successfully. exit code 1
Asked
Active
Viewed 2.0k times
2
-
2That's only telling that there was an error. The interesting stuff is further up. – Sören Oct 28 '22 at 17:10
-
1python 3.11 is still new, you have to wait until all libraries support it, i am guessing pip will try to compile the libraries on your system , which might not be ideal, downgrading to 3.10 for a month or so will save you a lot of headache. – Ahmed AEK Oct 28 '22 at 17:10
1 Answers
11
pip install pygame --pre
This should fix it for now. You can upgrade to the normal version once it launches

KillerRebooted
- 470
- 1
- 12