无法使用pip、win xp x32、python 2.7安装pycurl。
这是日志

pip install pycurl
Downloading/unpacking pycurl
  Downloading pycurl-7.19.3.1.tar.gz (116Kb): 116Kb downloaded
  Running setup.py egg_info for package 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

----------------------------------------
Command python setup.py egg_info failed with error code 10 in C:\Documents and S
ettings\User\build\pycurl
Storing complete log in C:\Documents and Settings\User\Application Data\pip\pi
p.log

最佳答案

我也有同样的问题。我可以用“轻松安装”来安装它:

easy_install pycurl

要轻松安装,请参见setuptools

关于python - 无法用pip安装pycurl,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22754649/

10-12 22:50