Ubuntu安装pycurl

转自:https://blog.csdn.net/qq_23729557/article/details/78836547

在Ubuntu 16.04上安装pycurl时大致会遇到一下两个问题:

  • 在使用pip install pycurl是报curl_config no found错误
  • gnutls.h: No such file or directory

解决办法:

  • sudo apt-get install libcurl4-gnutls-dev
  • apt-get install libghc-gnutls-dev

最后通过pip进行安装:

pip install pycurl

猜你喜欢

转载自www.cnblogs.com/fengff/p/8862381.html