`AttributeError: module 'esptool' has no attribute '_main'` at idf5.+ (VSC-958)
See original GitHub issueOS
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.
Issue Analytics
- State:
- Created a year ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
module 'esptool' has no attribute '_main' (IDFGH-7400) #8979
_main() # type: ignore AttributeError: module 'esptool' has no attribute '_main' 终端进程“d:\software\esp\.espressif\python_env\idf5.0_py3.8_env ...
Read more >AttributeError: Module Pip has no attribute 'main'
I am running python3 and my pip version is 10.0.0. The file in question is setup.py and the code that is messing up...
Read more >'module' object has no attribute 'main' when using pip > 9.0.3 ...
AttributeError : 'module' object has no attribute 'main' when using pip > 9.0.3 in virtualenv (for python 2.7). When I create a virtual...
Read more >Cannot flash ESP32 chip because it is using python2
AttributeError : 'Serial' object has no attribute 'dtr'. It found out that esptool is running on python2, not python3.
Read more >AttributeError:module 'esptool' has no attribute '_main'
_main() # type: ignore AttributeError:module 'esptool' has no attribute '_main' 打开esptool.py文件内容如下: import os import sys
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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
perfect. many thanks for your prompt replies