E034-pycurl mac 安装报错Curl is configured to use SSL

一、使用安装第三方插件的方式安装pycurl:pip3 install pycurlcurl

 

报错提示以下:url

Curl is configured to use SSL, but we have not been able to determine which SSL backend it is using. Please see PycURL documentation for how to specify the SSL backend manually.'插件

 

 

二、网上通用版解决方式code



然而对我无论用‘


靠谱答案来源:https://stackoverflow.com/questions/51075738/install-pycurl-after-mac-update-to-high-sierra-ssl-error,如下方式安装成功:pip uninstall pycurl
export PYCURL_SSL_LIBRARY=openssl
pip install pycurl
(env)$ pip uninstall pycurl
(env)$ pip install --upgrade pip
(env)$ export LDFLAGS=-L/usr/local/opt/openssl/lib
(env)$ export CPPFLAGS=-I/usr/local/opt/openssl/include
(env)$ export PYCURL_SSL_LIBRARY=openssl
(env)$ pip install pycurl
相关文章
相关标签/搜索