【问题标题】:Cant install PyCurl无法安装 PyCurl
【发布时间】:2021-03-09 15:43:12
【问题描述】:

我尝试安装 py curl 但我收到此错误...

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:\users\lequi\appdata\local\programs\python\python38-32\python.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('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\lequi\AppData\Local\Temp\pip-pip-egg-info-y5vol4q7'
         cwd: C:\Users\lequi\AppData\Local\Temp\pip-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.

有人可以帮忙吗?

【问题讨论】:

    标签: python curl installation pip pycurl


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2014-05-10
      • 2020-10-13
      • 1970-01-01
      • 2023-03-06
      • 2011-02-09
      • 2014-06-26
      • 1970-01-01
      • 2021-11-23
      相关资源
      最近更新 更多