Python Forum

Full Version: Cannot download pygame
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I try, this message pops up

ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/hm/0xxm_lpx1r3fpc9_5khmfstc0000gp/T/pip-install-788k0zhg/pygame/setup.py'"'"'; __file__='"'"'/private/var/folders/hm/0xxm_lpx1r3fpc9_5khmfstc0000gp/T/pip-install-788k0zhg/pygame/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/hm/0xxm_lpx1r3fpc9_5khmfstc0000gp/T/pip-record-ybt2ciis/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/pygame Check the logs for full command output.

Please help
Are you using pip? pip install pygame
On Windows pip comes with the original Python install.
If you aren't an admin on the machine you might try pip install --user pygame
I am using pip and I am an admin on my machine.
I am on a MacBook Pro.