Python.h:No such file or directory
2014-01-13 16:08
381 查看
出现No such file or directory的错误,有两种情况,一种是真的没有Python.h这个文件,一种是Python的版本不对,
可以进入/usr/include/文件夹下的Python2.x文件夹里查找是否有Python.h这个文件。
如果是第一种情况,那么需要安装Python-dev这个包,(sudo apt-get install python-dev)
可以进入/usr/include/文件夹下的Python2.x文件夹里查找是否有Python.h这个文件。
如果是第一种情况,那么需要安装Python-dev这个包,(sudo apt-get install python-dev)
相关文章推荐
- Python.h:No such file or directory
- Python.h:No such file or directory
- python调用cmd命令行制作刷博器
- python 脚本发送邮件
- Python 程序员应该知道的 10 个库
- Python 注意
- python与复杂科学(2013-09-16 15:28:21)转载▼
- python 得进化
- python 字符串
- commands 模块 分类: python 小练习 python Module 2014-01-13 14:27 392人阅读 评论(0) 收藏
- Python:Error: Inconsistent indentation detected!解决办法
- python入门指引
- Python 操作 MySQL
- Python+BeautifulSoup抓取暴走漫画页面图片
- 在目录下找出特定格式的文件 python
- Python学习6:动态类型与共享引用
- mysql-python安装 _mysql.c:602: error: expected expression before ‘)’ token
- 用python来过滤无效用户名或密码
- python 容器排序
- 转python编码问题