SSL backend error when using OpenSSL pycurl install error

时间:2023-03-09 20:25:14
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: