PlatformIO IDE can't find Python interpreter on Linux

Trying to install PlatformIO IDE on VS Code in Ubuntu (20.04.3)
Python 3.8 was installed by default
Downloaded VS Code from Ubuntu Software
Python extension works fine
PlatformIO always throws error:
Can not find working Python 3.6+ Interpreter. Please install the latest Python 3 and restart VSCode
I have tried to make symbolic link called “python”, but it doesn’t work
Writing path to executable doesn’t work

1 Like

DId you do a sudo apt install python3-venv beforehand?

2 Likes

No, I didn’t
Python worked fine without that and VS Code extensions worked fine without that

The PlatformIO core installer requires it. Installing it via the docs will lead you to the same answer.

It works now fine
Thanks!