centos7

python3.6.5


安装pycurl模块 pip3 install pycurl

报错:Could not run curl-config: [Errno 2] No such file or directory: 'curl-config': 'curl-config'


解决方案:yum -y 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.


解决方案:export PYCURL_SSL_LIBRARY=openssl

再次执行pip3 install pycurl安装成功