System version CentOS release 6.2 (Final)
Installing Pycurl with Pip today is a scenario where the following occurs:
650) this.width=650; "style=" width:981px;height:102px; "title=" 1.png "src=" http://s3.51cto.com/wyfs02/M00/73/74/ Wkiom1x-ehuzq83naahjodbs9jo522.jpg "width=" 1084 "height=" 117 "alt=" Wkiom1x-ehuzq83naahjodbs9jo522.jpg "/>
To solve this problem is to specify the way SSL, NSS, OpenSSL, etc.
Some of the methods:
Law One:
1. If PIP is not installed, first install PIP;
2, pip uninstall Pycurl uninstall before the installation;
3, the implementation of export PYCURL_SSL_LIBRARY=NSS;
4, pip install Pycurl again
PS: May not appear NSS, but OpenSSL, as long as the corresponding change to OpenSSL can be
Law II:
Install with the source code, but need Curl-config package support, so the source reinstall Curl
wget http://curl.haxx.se/download/curl-7.36.0.tar.gz
The installation process is slightly
After export ld_library_path=/us/local/lib
Curl-o https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.3.1.tar.gz
TAR-ZXVF pycurl-7.19.3.1.tar.gz
CD pycurl-7.19.3.1
Python setup.py Install--curl-config=/usr/local/bin/curl-config
Installation is complete!
Through Law one no way to solve, do not know why, law two can be solved.
Installation Pycurl appears: ImportError:pycurl:libcurl link-time SSL Backend (NSS)