question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`AttributeError: module 'esptool' has no attribute '_main'` at idf5.+ (VSC-958)

See original GitHub issue

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

47B5J1RSWB2H43WSZ38 KAO

Extension

No response

Description

in here

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:closed
  • Created a year ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
xiaolongbacommented, Nov 7, 2022

@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

0reactions
xiaolongbacommented, Nov 3, 2022

Hey @xiaolongba I was busy with other tasks but today I’ll try to find the reason why is it failing in the extension xD. Not sure what is making it break from extension.

perfect. many thanks for your prompt replies

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found