I was trying to install pycurl in a virtualenv using pip and I got this error
ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from
After reading their INSTALLATION file, I was able to solve my problem by setting an environment variable and did a reinstall
remove existing pycurl
installation
pip uninstall pycurl
export variable with your link-time ssl backend (which is openssl above)
export PYCURL_SSL_LIBRARY=openssl
then, re-install pycurl
with no cache
pip install pycurl --no-cache-dir
There could be other solution out there but this works perfectly for me on a virtualenv
and pip
installation.