安装tinyos后,出现Python.h:No such file or directory错误的解决方案
来源:互联网 发布:条顿森林战役 知乎 编辑:程序博客网 时间:2024/05/20 22:04
安装tinyos后,出现Python.h:No such file or directory错误的解决方案
好久没碰tinyos了,刚刚又去重装了一遍tinyos2.1.0,结果进入Blink后,编译有错误(貌似上学期刚开始用的时候碰到的就是这个问题,因为师兄建议用虚拟播放器打开Xubuntos,后来就没去研究了),
错误显示是这样的:
既然下午翘课,就准备跟编译错误斗一斗,^_^,先百度了一通,
然后自我总结一番,,出现No such file or directory的错误,有两种情况,一种是真的没有Python.h这个文件,一种是Python的版本不对,
可以进入/usr/include/文件夹下的Python2.x文件夹里查找是否有Python.h这个文件。
如果是第一种情况,那么需要安装Python-dev这个包,(sudo apt-get install python-dev)
如果有这个文件,那么是第二种情况,在编译错误信息里可以看到-I/include/python2.x,这里的Python版本需要和/tonyos-2.x/support/make/文件夹下sim.extra文件中的PYTHON_VERSION=2.x,两个x要一致,tinyos-2.1.0默认是Python2.5.
(sudo gedit /../sim.extra修改后保存,推出终端重新编译Blink,问题解决^_^)
...哎,,没办法,,这学期还得继续研究Tinyos,,,望有志同道合之人,共同努力,,yuzhigang33@gmail.com
- 安装tinyos后,出现Python.h:No such file or directory错误的解决方案
- 出现Python.h:No such file or directory错误的解决方案
- 安装pycrypto出现“fatal error: Python.h: No such file or directory”错误
- Qt安装后编译实例的错误提示“GL/gl.h: No such file or directory”
- ubutu安装phonegap 后出现/usr/bin/env:node No such file or directory的错误
- Linux错误 curses.h:No such file or directory解决方案
- mysql-python 安装错误: Cannot open include file: 'config-win.h': No such file or directory
- redis 安装错误 jemalloc.h: No such file or directory
- Ubuntu出现错误 ----Fatal error: Python.h: No such file or Directory
- gnutls.h: No such file or directory 的解决方案
- Python.h:No such file or directory
- Python.h: No such file or directory
- Python.h: No such file or directory
- Python.h:No such file or directory
- Python.h:No such file or directory
- Python.h:No such file or directory
- Python.h: No such file or directory
- 在Ubuntu16.04里面安装 pycurl 提示错误的问题:gnutls.h: No such file or directory 的解决方案
- Ext.net 中日期格式的计算
- [Git]win下git中文支持环境的配置
- Windows Store App使用IAsyncOperationWithProgress的一个例子
- C语言中的指针加减偏移量
- JS保留小数点(四舍五入、四舍六入)实例
- 安装tinyos后,出现Python.h:No such file or directory错误的解决方案
- 给数子加千分号的方法(每三个数字后加一个逗号)
- alter system switch logfile 和alter system archive log current的区别
- 为什么要设置JAVA_HOME、Path、CLASSPATH、CATALINA_HOME
- SQL Server 2005 附加到SQL Server2008 R2出现只读错误
- JSTL函数标签库 fn标签
- Oracle object unlock - 表,包,过程,函数
- Oracle安装后服务器端配置及数据导出导入操作
- 如何解决Oracle中文乱码问题