python pycurl模块安装过程
首先,下载curl:http://curl.haxx.se/download/curl-7.21.3.tar.gz
然后,下载pycurl:http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz
运行python,提示错误:
import pycurl
错误:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named pycurl
pycurl假定的curl路径不对,需要给pycurl指定curl-config 路径:
简单几步,pycurl模块安装成功了。