I am doing my first steps with PlatformIO in VScode. The installation run smoothly. I’m able to compile my source code and upload it to the controller without problems. However, when I open a PlatformIO terminal in VScode and type in some pio command, I always get a
command 'pio' not found error.
I tried this with a fresh install on a different computer (having the same OS) and there it works as expected.
Executing the command
echo $PATH in a PlatformIO terminal prints only my regular standard unix path.
I’m able to run
~/.platformio/penv/bin/pio from a regular unix terminal.
It tried to set the path variable manually as described here without success: Specify Path to PlatformIO in Visual Studio Code. Playing with other options like
platformio-ide.updateTerminalPathConfiguration did not help either.
I already uninstalled the PlatformIO plugin and the VScode package and removed the directories
~/.config/Code before re-installing. No success.
Can you help, please?
OS: Linux x64 5.3.0-26-generic
PlatformIO IDE Plugin: