我在尝试执行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 "", line 1, in
File "C:\Users\Kinhhy\AppData\Local\Temp\pip-build-_7qz1tzq\pygame\setup.py", line 165, in
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
我已经读了很多关于同样问题的帖子,但是没有一篇文章解决了这个问题。在
我试过了:升级pip
安装正确的.whl脚本
使用--upgrade
使用easy_安装
重新安装我的pip
删除pygame并重新安装
试着调试脚本
我用的是windows10和cpython3.7,32位。在
谢谢!在