Python.h:没有那个文件或目录 错误
sudo apt-get install python-dev
gnutls/gnutls.h: 没有那个文件或目录:没有那个文件或目录 错误
sudo apt-get install libgnutls28-dev
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kmdxj830/pycurl/
sudo apt-get install libcurl4-gnutls-dev
Reference:
https://blog.youkuaiyun.com/shomy_liu/article/details/45803845

本文详细介绍了在Ubuntu环境下,解决Python安装PyCurl模块时遇到的“Python.h”、“gnutls.h”和“libcurl4-gnutls-dev”缺失导致的错误。通过使用sudo apt-get install命令安装所需的开发库,成功解决了安装过程中出现的多个错误。
345

被折叠的 条评论
为什么被折叠?



