ImportError: pycurl: libcurl link-time ssl backend (openssl)

ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other)
安装pycurl模块报错如图:

importerror-pycurl

解决方案如下:

1,如果没有安装pip,先安装pip;
2,pip uninstall pycurl 卸载掉之前安装的;
3,执行export PYCURL_SSL_LIBRARY=openssl

4,pip install pycurl 再次安装


转自:http://www.androidstar.cn/importerror-pycurl-libcurl-link-time-ssl-backend-openssl/