Centos6.7系统,python3.6.7,通过 pip 安装pycurl出现报错:
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config': 'curl-config'
系统已经安装了curl,出现此错误提示一般是因为没有安装对应的开发库,解决方法:
yum -y install libcurl-devel
Centos6.7系统,python3.6.7,通过 pip 安装pycurl出现报错:
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config': 'curl-config'
系统已经安装了curl,出现此错误提示一般是因为没有安装对应的开发库,解决方法:
yum -y install libcurl-devel