【发布时间】:2021-11-23 03:13:57
【问题描述】:
在我的需求文件中有pycurl==7.43.0.6。我正在使用Python 3.7。我收到以下错误:
ERROR: Command errored out with exit status 10:
command: 'c:\python\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\THEMIL~1\\AppData\\Local\\Temp\\pip-install-vqp6dg8i\\pycurl\\setup.py'"'"'; __file__='"'"'C:\\Users\\T
HEMIL~1\\AppData\\Local\\Temp\\pip-install-vqp6dg8i\\pycurl\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code,
__file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: C:\Users\THEMIL~1\AppData\Local\Temp\pip-install-vqp6dg8i\pycurl\
Complete output (1 lines):
Please specify --curl-dir=/path/to/built/libcurl
----------------------------------------
ERROR: Command errored out with exit status 10: python setup.py egg_info Check the logs for full command output.
我怎样才能做到这一点?
【问题讨论】:
-
最简单的解决方案可能是为 Windows 下载一个预构建的二进制文件,如@2e0byo 链接到的答案中所示。您尝试安装的确切版本
pycurl==7.43.0.6可能不可用,但我怀疑您的应用程序将使用不同版本的 pycurl。
标签: python python-3.7 pycurl