vscode-esp-idf-extension: `AttributeError: module 'esptool' has no attribute '_main'` at idf5.+ (VSC-958)
OS
Windows
Operating System version
win11
Visual Studio Code version
1.70
ESP-IDF version
5.0
Python version
3.8.7
Doctor command output

Extension
No response
Description
Debug Message
not
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (5 by maintainers)
Commits related to this issue
- Tools: Fix esptool wrappers by avoiding importing the module Importing esptool in wrappers could cause importing the wrapper itself. Updating the PATH is not reliable. For example, os.path.realpath()... — committed to espressif/esp-idf by dobairoland 2 years ago
- Tools: Fix esptool wrappers by avoiding importing the module Importing esptool in wrappers could cause importing the wrapper itself. Updating the PATH is not reliable. For example, os.path.realpath()... — committed to espressif/esp-idf by dobairoland 2 years ago
@brianignacio5 Hello Bro,
it seems that there is one guy who gave us one workaround I have a try just now and it works. the details as this link:https://github.com/espressif/esp-idf/issues/9861#issuecomment-1304592452