1. 程式人生 > >centos6,python3,通過pip安裝pycurl出現報錯提示

centos6,python3,通過pip安裝pycurl出現報錯提示

run cto pytho tor dir rec centos6 url 3.6

 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,python3,通過pip安裝pycurl出現報錯提示