Python Forum
Cannot download pygame - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Cannot download pygame (/thread-24887.html)



Cannot download pygame - JamWeird - Mar-09-2020

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


RE: Cannot download pygame - mcmxl22 - Mar-09-2020

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


RE: Cannot download pygame - JamWeird - Mar-09-2020

I am using pip and I am an admin on my machine.
I am on a MacBook Pro.