The installation of pycurl under linux sometimes reports an error, which makes it unusable. Here are two solutions:
错误:ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)
1 Uninstall pycurl first: pip uninstall pycurl
Execute: export PYCURL_SSL_LIBRARY=nss
Install: sudo pip install pycurl
2 Uninstall pycurl first: pip uninstall pycurl
Get pycurl: curl -O https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.3.1.tar.gz
Install: tar -zvxf pycurl-7.19.3.1.tar.gz
cd pycurl-7.19.3.1
sudo python setup.py --with-nss install