解决 Python.h:没有那个文件或目录 错误的方法
2012-09-14 09:28
555 查看
今天在实验室的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
错误如下:
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
相关文章推荐
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- centos7 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- fedora 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法
- centos7 解决 Python.h:没有那个文件或目录 错误的方法
- 解决 Python.h:没有那个文件或目录 错误的方法( Python.h:No such file or directory )
- fatal error: Python.h: 没有那个文件或目录 解决方法
- fatal error: Python.h: 没有那个文件或目录 解决方法
- 错误:readline/readline.h:没有那个文件或目录解决方法
- Python.h:没有那个文件或目录 错误的方法
- /usr/bin/python^M: 解释器错误: 没有那个文件或目录(问题解决)
- GNU Linux 64位系统中fatal error: stdio.h: 没有那个文件或目录的错误的解决方法
- 错误:readline/readline.h:没有那个文件或目录解决方法
- fatal error: Python.h: 没有那个文件或目录 解决方法