python - 错误:pip 安装先知后的命令失败,退出状态为 2 -
问题描述
我正在尝试使用 pip install 先知安装先知模块,但出现此错误:
错误:命令 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' 失败,退出状态为 2
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\roman\anaconda\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Roman\\AppData\\Local\\Temp\\pip-install-3atf7x8i\\prophet_b4d79ec5b1364530badc909dc352ecb0\\setup.py'"'"'; __file__='"'"'C:\\Users\\Roman\\AppData\\Local\\Temp\\pip-install-3atf7x8i\\prophet_b4d79ec5b1364530badc909dc352ecb0\\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'"'"'))' install --record 'C:\Users\Roman\AppData\Local\Temp\pip-record-3wqyamtb\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\roman\anaconda\Include\prophet' Check the logs for full command output.
我真的被卡住了,不知道该怎么办
先感谢您!
解决方案
推荐阅读
- python - py4j.protocol.Py4JJavaError java.lang.NoSuchFieldError: JAVA_9
- powershell - 如何使用 powershell 转换日期时间格式
- c++ - 如何从我的斐波那契数列中获取要列出的单个数字?
- windows - fe_sendauth:PostgreSQL windows 用户没有提供密码错误
- python - 从另一个列表中的列表中删除元素,同时保留重复项
- azure - 使用 Azure CLI 从变量中创建 Azure Key Vault 机密在值中删除插入符号 ^ 字符
- python - Python中简单的按需函数调用树?
- c++ - 如何定义以派生类型为参数的虚函数?
- javascript - 如何解决使用redux的react js中的401错误。?
- python - Python / Selenium - 在调用第二个 driver.get() 后如何保持登录状态?