One - One Code All

Blog Content

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

Python Linux-Mac   2018-05-20 12:51:12

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

报错提示如下:

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.'


解决方案:
$ export LDFLAGS=-L/usr/local/opt/openssl/lib
$ export CPPFLAGS=-I/usr/local/opt/openssl/include
$ export PYCURL_SSL_LIBRARY=openssl
$ pip3 install pycurl


上一篇:Mac 使用git出现xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
下一篇:intellij idea在mac中快捷键失灵,无法复制

The minute you think of giving up, think of the reason why you held on so long.