Python I';我正在尝试下载Pygame,但在最后一步,我总是遇到以下错误:
我正在遵循一个教程,但代码在此步骤中失败: 谁能帮我解决这个问题Python I';我正在尝试下载Pygame,但在最后一步,我总是遇到以下错误:,python,installation,pygame,Python,Installation,Pygame,我正在遵循一个教程,但代码在此步骤中失败: 谁能帮我解决这个问题 Running setup.py install for pygame ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sy
Running setup.py install for pygame ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/qm/sfjznj095bq302mwh7l2x9pm0000gn/T/pip-req-build-89d5f4tl/setup.py'"'"'; __file__='"'"'/private/var/folders/qm/sfjznj095bq302mwh7l2x9pm0000gn/T/pip-req-build-89d5f4tl/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/qm/sfjznj095bq302mwh7l2x9pm0000gn/T/pip-record-64mzuebk/install-record.txt --single-version-externally-managed --compile
cwd: /private/var/folders/qm/sfjznj095bq302mwh7l2x9pm0000gn/T/pip-req-build-89d5f4tl/
您可以通过以下方式安装: pip安装pygame