错误:尝试在窗口中“pip install quantumgrove”时,退出状态为1的命令出错

2024-06-15 17:34:23 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图用“pip install --upgrade setuptools && python -m pip install --upgrade pip”来修复,但它仍然不起作用,并且出现错误。我该怎么办

ERROR: Command errored out with exit status 1: command: 'c:\users\it\anaconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\it\AppData\Local\Temp\pip-install-g2ejs5st\immutables_17746a89c66b4c4daeb1c8eee86da7de\setup.py'"'"'; file='"'"'C:\Users\it\AppData\Local\Temp\pip-install-g2ejs5st\immutables_17746a89c66b4c4daeb1c8eee86da7de\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\it\AppData\Local\Temp\pip-wheel-69foxfyt' cwd: C:\Users\it\AppData\Local\Temp\pip-install-g2ejs5st\immutables_17746a89c66b4c4daeb1c8eee86da7de
Complete output (21 lines):

这是来自错误的文本


Tags: installpipimportlocal错误setupitusers
1条回答
网友
1楼 · 发布于 2024-06-15 17:34:23

晚上好,谢谢大家的回答。我已经解决了这个问题。我注意到在错误的文本中显示了“错误:微软Visual C++ 14或更大的要求。用“微软C++构建工具”获得:https://visualstudio.microsoft.com/visual-cpp-build-tools/' 所以我进入了链接,安装了C++的构建工具,然后它工作!忽略显示的错误文本是我的错。再次感谢你

相关问题 更多 >