Error

Michael Torrie torriem at gmail.com
Mon Dec 7 13:13:36 EST 2020


On 12/7/20 11:07 AM, Barry Fitzgerald wrote:
> I did the pip install I did the pip install pygameThe pip install
> pgzero I get this error C:\Users\barol>pip install pgzeroDefaulting
> to user installation because normal site-packages is not
> writeableCollecting pgzero  Using cached pgzero-1.2-py3-none-any.whl
> (69 kB)Collecting numpy  Using cached
> numpy-1.19.4-cp39-cp39-win_amd64.whl (13.0 MB)Collecting
> pygame<2.0,>=1.9.2  Using cached pygame-1.9.6.tar.gz (3.2 MB)
> ERROR: Command errored out with exit status 1:     command:
> 'c:\program files\python39\python.exe' -c 'import sys, setuptools,
> tokenize; sys.argv[0] =
> '"'"'C:\\Users\\barol\\AppData\\Local\\Temp\\pip-install-loo9yev7\\pygame_5aee70f17f294e14b6187b13f07afa31\\setup.py'"'"';
> __file__='"'"'C:\\Users\\barol\\AppData\\Local\\Temp\\pip-install-loo9yev7\\pygame_5aee70f17f294e14b6187b13f07afa31\\setup.py'"'"';f=getattr(tokenize,
> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> '"'"'\n'"'"');f.close();exec(compile(code, __file__,
> '"'"'exec'"'"'))' egg_info --egg-base
> 'C:\Users\barol\AppData\Local\Temp\pip-pip-egg-info-rdmw_7gl'
> cwd:
> C:\Users\barol\AppData\Local\Temp\pip-install-loo9yev7\pygame_5aee70f17f294e14b6187b13f07afa31\
> Complete output (17 lines):
> 
> WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
> Using WINDOWS configuration...
The problem is there is no pre-compiled PyGame Zero package yet for
Python 3.9.  So your system is trying to compile it from source.
Probably your best bet is to remove Python 3.9 and install Python 3.8.


More information about the Python-list mailing list