Problem: shell executable can't find “d:\Docs\PlatformIO\Projects\project_oled\platformio.exe”。

I create a project use vscode platformIO, and when i want build the project, I get a error:


Why extension try to find platformio.exe under the workspace?

This looks similar to Incorrect executable path (platformio.exe)

cc @ivankravets: Can you take a look at this?

Yes,but i can’t find the solution of this ploblem.

Could you try yo disable ESP-IDF extension and restart VSCode? Does it work now?

No, i have tried this way.

Please disable ALL extensions in the VSCode and leave only PlatformIO IDE and C/C++ extensions. It looks like 3rd party extension breaks the system PATH in runtime.