when I try to install pygame in my cmd(as admin), vscode, pycharm I always get the same error that says:
error: subprocess- exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
and
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Also I need to mention that I don't have any problems with installing other modules since I downloaded 'pandas' and it worked just fine.
I made sure to have pip installed to max version and python as well, I gave it a try multiple times but it doesn't work. I also watched tons of YouTube videos on this but nobody seems to have that problem. I expected it to simply download but there is always these same errors popping up.
Thank you for your time, any help would be appreciated.