我正在为python 3.4安装pycurl,
如果我运行“pip install pycurl”,我有:
Downloading/unpacking pycurl
Running setup.py (path:C:\Users\kkw\AppData\Local\Temp\pip_build_kkw\p
ycurl\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
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 10 in C:\Users\kai.wen\A
ppData\Local\Temp\pip_build_kai.wen\pycurl
Storing debug log for failure in C:\Users\kai.wen\pip\pip.log
如果我运行“pip install pycurl --curl-dir = C:\ Python34 \ pycurl”,我将会:
Usage:
pip install [options] <requirement specifier> ...
pip install [options] -r <requirements file> ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...
no such option: --curl-dir
任何人都有一个工作示例“pip install”pycurl?
由于
答案 0 :(得分:0)
你必须使用pip吗?
我使用sudo easy_install pycurl