-1

When trying to install pygame, (pip install pygame),Im getting the error:

** error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [77 lines of output] **

(Im running Windows 11)

I think everything is updated to the newest release

Ive tried updating everything, Ive tried updating my device, I have no idea what to do, any help would be much appreciated! Thank you!

1 Answers1

-1

Try running command prompt as admin. All you do is press the windows key, search "command prompt", and select to run it as an admin. Then just type the command. I don't know if this will work for you, but it always works for me.

Hope this helps!