版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_24671941/article/details/84643096
pip 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.’
网上通用版解决方式
(env)$ pip uninstall pycurl
(env)$ export PYCURL_SSL_LIBRARY=openssl
(env)$ 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
安装成功。