SSL backend error when using OpenSSL pycurl install error

centos7

pip install pycurl 错误

pip uninstall pycurl
export PYCURL_SSL_LIBRARY=nss
pip install pycurl




helloworld2013's answer is correct, but the key is matching the SSL library that pycurl is expecting. The error will be something like:

pycurl: libcurl link-time ssl backend (<library>) is different from compile-time ssl backend (<library> or "none/other")

To fix it, you have to use the library pycurl is expecting. In my case, my error was "pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)", so my fix was:

posted @ 2019-02-15 13:15  svolcano  阅读(195)  评论(0编辑  收藏  举报