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:

猜你喜欢

转载自www.cnblogs.com/S-volcano/p/10383140.html