centos6,python3,通过pip安装pycurl出现报错提示

时间:2023-03-08 21:36:33
centos6,python3,通过pip安装pycurl出现报错提示

 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