You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because utils.ts prependscomponents/esptool_py/esptool before anything else and esptool.py in this directory is marked as executable, you can't run esptool.py despite it being available in $IDF_TOOLS_PATH/python_env/idf5.2_py3.12_env/bin
Debug Message
Not applicable
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.
The text was updated successfully, but these errors were encountered:
gudvinr
added
the
bug-report
Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
label
Jun 7, 2024
github-actionsbot
changed the title
esptool.py cannot be run from ESP-IDF terminal
esptool.py cannot be run from ESP-IDF terminal (VSC-1372)
Jun 7, 2024
It's not resolved for me on Windows with the 1.8.0 release.
Running pip install esptool in the esp-idf terminal and using python -m esptool is a work around.
How are you running esptool @silvant ? The idea is to use python -m esptool in a ESP-IDF Terminal. esptool is not added to PATH so it should be run as module or use the full path. We could add DOSKEY or functions for cmd.exe and powershell but those are terminal specific.
OS
Linux
Operating System version
Arch Linux
Visual Studio Code version
1.89.1
ESP-IDF version
5.2.2
Python version
3.12.3
Doctor command output
ESP-IDF Extension for Visual Studio Code report
Extension
No response
Description
I am encountering the same issue as in espressif/esp-idf#10926.
Because utils.ts prepends
components/esptool_py/esptool
before anything else andesptool.py
in this directory is marked as executable, you can't runesptool.py
despite it being available in$IDF_TOOLS_PATH/python_env/idf5.2_py3.12_env/bin
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: