解决 Python.h:没有那个文件或目录 错误的方法
来源:互联网 发布:深圳龙华淘宝客服招聘 编辑:程序博客网 时间:2024/05/19 17:04
今天在实验室的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
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:没有那个文件或目录 解决案例
- 安装DirectX SDK时出现Error Code:s1023 的解决方案
- “由于应用程序配置不正确,应用程序未能启动”的问题
- \'Debug/XXX.pch\' is not a precompiled header file created with this compiler Error
- ubuntu:错误failed to load session ubuntu的解决办法
- linux环境下的python安装过程(含setuptools)
- 解决 Python.h:没有那个文件或目录 错误的方法
- Linux tcpdump命令详解
- 网页解析类库HtmlCleanner
- 深度理解C++对象模型读书笔记——对象模型
- 记录nodejs中async的几个接口用法
- JavaAWT简单Socket多人聊天程序(简单明了)
- linux中获取命令帮助的几种方式1
- Linux下一些有用的Shell命令
- 云计算