Mac 安装 pycurl 报错解决办法
Mac端通过
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.如图
![](https://img.haomeiwen.com/i6275828/1ce934e247130369.png)
解决办法
将openSSL配置到环境变量
export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include
export PYCURL_SSL_LIBRARY=openssl
配置完毕后重新安装即可成功
网友评论