在Ubuntu16.04里面安装 pycurl 提示错误的问题:gnutls.h: No such file or directory 的解决方案
2017-07-06 16:31
696 查看
楼主在之前的django学习中,都是在windows下配置环境的,现在网页基本上已经写好,需要在linux下通过Nginx配置Web服务器,首先第一步肯定是将能够在windows运行的python代码移植到Ubuntu中,看看是否能运行,但是在配置环境的时候,加载pycurl模块,总是出现如下问题:
即提示src/pycurl.h:173:30: fatal error: gnutls/gnutls.h: 没有那个文件或目录
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
这一个问题,折腾了一下午发现是一个依赖的相关问题,由于楼主初学linux,所以暂时不能独立解决,只能百度一下,但是折腾了一下午都找不到相关的资料,最后找到了下面的教程,终于成功了。所以记录一下。
博客网址为:
https://imlonghao.com/20.html
即提示src/pycurl.h:173:30: fatal error: gnutls/gnutls.h: 没有那个文件或目录
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
这一个问题,折腾了一下午发现是一个依赖的相关问题,由于楼主初学linux,所以暂时不能独立解决,只能百度一下,但是折腾了一下午都找不到相关的资料,最后找到了下面的教程,终于成功了。所以记录一下。
博客网址为:
https://imlonghao.com/20.html
相关文章推荐
- Ubuntu 10.04下安装OpenCV及编译一个简单例程(找不到头文件的问题:error: cv.h: No such file or directory )
- 在ubuntu中安装luci解决iwinfo.h No such file or directory问题
- ubuntu16.04 Error: libcudart.so.7.5: cannot open shared object file: No such file or directory最新解决方案
- Ubuntu 10.04下安装OpenCV及编译一个简单例程(找不到头文件的问题:error: cv.h: No such file or directory )
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- Ubuntu16.0.4LTS 64位上运行32位程序,提示No such file or directory?错误的解决办法
- Qt安装后编译实例的错误提示“GL/gl.h: No such file or directory”
- 解决文件存在却提示 No such file or directory 错误的问题
- ubuntu14.04安装pycurl报错: __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- Ubuntu 14.04 LTS 解决adb无法运行 提示adb: No such file or directory 安装ia32-libs
- 安装tinyos后,出现Python.h:No such file or directory错误的解决方案
- ubuntu 10.10编译安装mysql 提示libtoolt': No such file or directory的解决方法
- Ubuntu 14.04 LTS 解决adb无法运行 提示adb: No such file or directory 安装ia32-libs
- FastDFS安装配置过程中出现错误提示"/home/yuqing/fastdfs" can't be accessed, error info: No such file or directory
- Ubuntu16.0.4LTS 64位上运行32位程序,提示No such file or directory?错误的解决办法
- Ubuntu 14.04 LTS 解决adb无法运行 提示adb: No such file or directory 安装ia32-libs
- 问题解决:安装完ruby却提示[/usr/bin/ruby: No such file or directory]
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- x86_64运行i868的可运行文件的错误提示(文件存在) bash: ./bin/mysql: No such file or directory