【问题标题】:When installing pycurl on Windows I get, "Please specify --curl-dir=/path/to/built/libcurl"在 Windows 上安装 pycurl 时,我得到“请指定 --curl-dir=/path/to/built/libcurl”
【发布时间】:2014-11-19 03:36:02
【问题描述】:

尝试在我的 Windows 机器上安装 python 库 pycurl。我已经设置了 pip,所以我正在使用命令“pip install pycurl”。但是我在错误日志中得到了这个 -

    Please specify --curl-dir=/path/to/built/libcurl
    Complete output from command python setup.py egg_info:
    Please specify --curl-dir=/path/to/built/libcurl

我尝试使用 --curl-dir 标签,但无法识别。

【问题讨论】:

  • 你为什么不使用Windows内置libraries。也许更简单!
  • 每次我尝试运行运行可执行文件时它都会崩溃。可能是因为我有 64 位版本的 Windows?
  • 这个问题有答案here

标签: python curl environment-variables pip pycurl


【解决方案1】:

使用 urllib2 库代替我安装到我的机器上,零问题。

【讨论】:

    猜你喜欢
    • 2013-08-03
    • 1970-01-01
    • 2015-04-01
    • 2013-11-02
    • 2019-04-28
    • 2019-06-14
    • 2010-09-05
    相关资源
    最近更新 更多