My system is macOS 10.13.1 I was try import pycurl is error
ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other)
I tried these two methods
sudo pip uninstall pycurl
export PYCURL_SSL_LIBRARY=openssl
sudo pip install pycurl
or
sudo pip uninstall pycurl
sudo pip install --compile --install-option="--with-openssl" pycurl
Ive tried multiple variations of this, but none of them seem to work. Any ideas?