【解决】pyserial or esptool directories not found next to this upload.py tool.

IoTSmartSensor
Erlang/OTP领域新星创作者
博客专家认证
2023-09-13 09:53:40

 搭建ESP8266 NodeMCU CP2102开发环境

问题描述

因为用的是低版本Arduino IDE在上传程序时,报 pyserial or esptool directories not found next to this upload.py tool.  错误,一直卡在Uploding 不动。

 

问题原因

报错 pyserial or esptool directories not found next to this upload.py tool.  看报错内容是esptool和pyserial这两个包不存在,经确认确实是两个包没有正常下载下来,执行:git submodule update --init  初始化子模块以获取外部库时因网络原因 esptool、esptool两个包未能正常下载下来。

 

 

解决办法

重新获取 esptool、esptool ,参考: https://arduino-esp8266.readthedocs.io/en/latest/installing.html#boards-manager

cd D:\arduino-1.6.5\hardware\esp8266com\esp8266
git submodule update --init

 

参考:

https://github.com/esp8266/Arduino

https://arduino-esp8266.readthedocs.io/en/latest/installing.html#boards-manager

基于MacOS搭建ESP8266 NodeMCU CP2102开发环境

 

...全文
54 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

13

社区成员

发帖
与我相关
我的任务
社区描述
物联网智能传感器
社区管理员
  • SummerGao.
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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