nodemcu编译固件失败

零二猿 2018-03-09 11:18:04
编译用的
 sudo apt-get install \
build-essential zip gdb git vim make unrar autoconf automake gawk \
bison texinfo libtool gcc g++ gperf libc-dbg ncurses-dev expat flex help2man \
lua5.1 lua5.1-doc luarocks
for m in bitlib luafilesystem md5 luaposix luasocket; do sudo luarocks install $m; done

sudo apt-get install python-pip
sudo pip install mkdocs

在nodemcu目录下Make编译失败,是什么原因?



File "../tools/esptool.py", line 26, in <module>
import serial
ImportError: No module named serial
../Makefile:190: recipe for target '.output/eagle/

...全文
997 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
零二猿 2018-03-10
  • 打赏
  • 举报
回复
各种错误.服了
零二猿 2018-03-10
  • 打赏
  • 举报
回复
引用 2 楼 zhxianbin 的回复:
提示不是很明显吗: no module named serial
g/image/eagle.app.v6.out 
/home/cofy/xtensa-toolchain/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lhal
collect2: error: ld returned 1 exit status
../Makefile:339: recipe for target '.output/eagle/debug/image/eagle.app.v6.out' failed
make[1]: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1
make[1]: Leaving directory '/home/cofy/nodemcu-firmware/app'
Makefile:259: recipe for target '.subdirs' failed
make: *** [.subdirs] Error 2
root@ubuntu:/home/cofy/nodemcu-firmware# 
zhxianbin 2018-03-10
  • 打赏
  • 举报
回复
提示不是很明显吗: no module named serial
零二猿 2018-03-09
  • 打赏
  • 举报
回复
Ubuntu 64 -16.04-lts nodemsu SDK 2.0

427

社区成员

发帖
与我相关
我的任务
社区描述
非技术问题的乐园
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧