无法安装PyCurl



我试图安装py-ccurl,但我得到了这个错误。。。

pip install pycurl
Collecting pycurl
Using cached pycurl-7.43.0.6.tar.gz (222 kB)
ERROR: Command errored out with exit status 10:
command: 'c:userslequiappdatalocalprogramspythonpython38-32python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\lequi\AppData\Local\Temp\pip-install-vgtj42e_\pycurl\setup.py'"'"'; __file__='"'"'C:\Users\lequi\AppData\Local\Temp\pip-install-vgtj42e_\pycurl\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UserslequiAppDataLocalTemppip-pip-egg-info-y5vol4q7'
cwd: C:UserslequiAppDataLocalTemppip-install-vgtj42e_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.

有人能帮忙吗?

这里已经给出了答案。尝试手动下载和编译pycurl

最新更新