报错信息:
Could not run curl-config: [Errno 2] No such file or directory: 'curl-config'
解决方案:
yum install libcurl-devel
报错信息:
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
解决方案:
pip uninstall pycurl# 卸载库
export PYCURL_SSL_LIBRARY=openssl
export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include # openssl相关头文件路径
pip install pycurl --compile --no-cache-dir # 重新编译安装