Search found 1 match

by hawk2003454
Fri Nov 25, 2022 9:33 am
Forum: ESP-IDF 中文讨论版
Topic: AttributeError:module 'esptool' has no attribute '_main'
Replies: 0
Views: 1236

AttributeError:module 'esptool' has no attribute '_main'

用官方的blink_example_main.c 点灯,编译没问题,烧写时,出现: Traceback (most recent call last): File "d:\esp\esp-idf\components\esptool_py\esptool\esptool.py", line 22, in <module> esptool._main() # type: ignore AttributeError:module 'esptool' has no attribute '_main' 打开esptool.py文件内容如下: import os import sys try: sys....