我尝试pip install pygame
时出现此错误:
Continuing With "setup.py"
Error with the "Setup" file,
perhaps make a clean copy from "Setup.in".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Kinhhy\AppData\Local\Temp\pip-build-_7qz1tzq\pygame\setup.py", line 165, in <module>
extensions = read_setup_file('Setup')
File "c:\program files (x86)\python37-32\lib\distutils\extension.py", line 171, in read_setup_file
line = expand_makefile_vars(line, vars)
File "c:\program files (x86)\python37-32\lib\distutils\sysconfig.py", line 407, in expand_makefile_vars
s = s[0:beg] + vars.get(m.group(1)) + s[end:]
TypeError: can only concatenate str (not "NoneType") to str
我已经阅读了大量有相同问题的帖子,但没有人修复过。
我试过了:
.whl
脚本我使用Windows 10和CPython 3.7,32位。
谢谢!