解决 Python.h:没有那个文件或目录 错误的方法
来源:互联网 发布:网页数据录入 编辑:程序博客网 时间:2024/05/21 09:32
今天在实验室的ubuntu机子上安装Eventlet,在安装依赖包greenlet时出现错误,出现编译错误。
错误如下:
In file included from greenlet.c:5:0:
greenlet.h:8:20: 致命错误: Python.h:没有那个文件或目录
编译中断。
error: Setup script exited with error: command 'gcc' failed with exit status 1
解决方法是安装python-dev,这是Python的头文件和静态库包:
sudo apt-get install python-dev
原文:http://www.cnblogs.com/yuxc/archive/2012/05/13/2498019.html
0 0
- Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- centos7 解决 Python.h:没有那个文件或目录 错误的方法
- centos7 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法( Python.h:No such file or directory )
- python.h 没有那个文件或目录
- 解决:zmalloc.h:50:31: 致命错误:jemalloc/jemalloc.h:没有那个文件或目录
- 解决bash:没有那个文件或目录的方法
- Linux 解决 bash ./ 没有那个文件或目录 的方法
- python 错误汇总2:致命错误: libxml/xmlversion.h:没有那个文件或目录
- 【Error】Python安装gevent时出错:“致命错误: Python.h:没有那个文件或目录”
- python报错: Python.h: 没有那个文件或目录
- xz_wrapper.c:28:18: 致命错误:lzma.h:没有那个文件或目录 解决案例
- window的odbc数据源中无法创建access数据源的问题
- 完数问题
- 重启
- oracle length与lengthb的区别
- 揭开Socket编程的面纱
- 解决 Python.h:没有那个文件或目录 错误的方法
- linux crontab执行oracle定时备份的问题
- jQuery 使用ajax提交遇到兼容性问题及解决方法
- Makefile 中:= ?= += =的区别
- maven打包web项目时同时打包为war和jar文件(备忘用)
- iOS捕获异常,常用的异常处理方法
- Manacher算法--O(n)回文子串算法
- 将p12转成pem
- oracle 创建索引