SSL backend error when using OpenSSL

前端 未结 26 2568
北恋
北恋 2020-11-30 22:38

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         


        
26条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-30 23:33

    Error:

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

    This worked for me, Mac 10.13, python 3.5, pycurl import worked after installing like this

    pip3 uninstall pycurl;
    
    pip3 install --compile --install-option="--with-openssl" pycurl
    

提交回复
热议问题