源码安装
1,下载curl-config,因为需要这个包支持
#wget http://curl.haxx.se/download/curl-7.36.0.tar.gz
#tar xzvf curl-7.36.0.tar.gz
#cd curl-7.36.0
#./configure
#make && make install
#export LD_LIBRARY_PATH=/usr/local/lib
2,下载pycurl
#wget https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.3.1.tar.gz --no-check-certificate
#tar xzvf pycurl-7.19.3.1.tar.gz
#cd pycurl-7.19.3.1
#python setup.py install --curl-config=/usr/local/bin/curl-config
3,验证pycurl是否安装成功
>>> import pycurl
>>> pycurl.version
'PycURL/7.19.3.1 libcurl/7.36.0 OpenSSL/1.0.1e zlib/1.2.3 libidn/1.18'
>>>
出现上面的就是安装成功了。