in DevOps

Resolve pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)

Error:

ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)

 

Fix

pip uninstall pycurl
export PYCURL_SSL_LIBRARY=nss
pip install --compile --install-option="--with-nss" --no-cache-dir pycurl

More Info

http://pycurl.io/docs/latest/install.html#ssl