無法用pip安裝pycurl,win xp x32,python 2.7。無法用pip安裝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
你指定--curl-DIR一樣嗎?就像日誌中說的「請指定--curl-dir =/path/to/built/libcurl」 – Cody
因爲你在Windows上,你必須在pycurl之前安裝cURL:http://stackoverflow.com/questions/507927/how -do -i-install-pycurl –
http://www.lfd.uci.edu/~gohlke/pythonlibs/ –