In Centos 7 system, Python 3.6 environment, use pip3 install the pycurl modal, may have two problems below.
1.No libcurl-devel system libs
__main__.ConfigurationError: Could not run curl–config: [Errno 2] No such file or directory: ‘curl-config’
Solution: yum install libcurl-devel
2.pycurl cannot know use which ssl lib
__main__.ConfigurationError: 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.
Solution：export the environ variations， then install pycurl
export PYCURL_SSL_LIBRARY=openssl export PYCURL_SSL_LIBRARY=nss pip3 install pycurl