我在命令提示符下运行以下命令
py -3.7 -m pip install phat
我得到了以下错误:
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command "'C:\Users\rabih\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\rabih\\AppData\\Local\\Temp\\pip-install-r5wlnxa3\\phat\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\rabih\AppData\Local\Temp\pip-record-ahhgu5et\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\rabih\AppData\Local\Temp\pip-install-r5wlnxa3\phat\
这与setup.py有关吗?在这种情况下,如何修复此错误? 知道我使用的是AcANDA和Python 3.7,我安装了微软Visual C++的构建工具,仍然没有修复错误
目前没有回答
相关问题 更多 >
编程相关推荐