Page 1 of 1

VS Code Windows does not recognize esptool, while esptool is available in VS Code terminal

Posted: Mon Dec 28, 2020 11:17 am
by espdorian
I've installed VS code 1.52.1 with IDF plugin 0.5.1
I start code from an IDF command prompt, so all environment variables are correct ( is there another way to start code directly ? )

From the VS Code terminal esptool works:
esptool version
esptool.py v3.0
3.0

However when selecting "flash device" : "Make sure you have the esptool.py installed and set in $PATH with proper permission"

I could not find any setting in VS Code related to esptool.

Where to look ?

Re: VS Code Windows does not recognize esptool, while esptool is available in VS Code terminal

Posted: Mon Dec 28, 2020 2:33 pm
by espdorian
This might be related to my next topic, which seem to mix some Python versions.

Re: VS Code Windows does not recognize esptool, while esptool is available in VS Code terminal

Posted: Tue Dec 29, 2020 7:03 am
by ESP_bignacio
Have you configure the extension using the ESP-IDF: Configure ESP-IDF extension command ?

Steps are explained here : https://github.com/espressif/vscode-esp ... OARDING.md

or check our Youtube video

Re: VS Code Windows does not recognize esptool, while esptool is available in VS Code terminal

Posted: Tue Dec 29, 2020 9:36 am
by espdorian
Reinstalling the tools (esp-idf-tools-setup-2.3.exe) finally solved the issue. :)