Under ubuntu, the problem of Can not find working Python 3.6+ Interpreter occurs when using platformio in vscode.

I haven't used platformio for a while. When I suddenly used it today, I found that it couldn't be used and reported an error:
Ubuntu PlatformIO: Can not find working Python 3.6+ Interpreter. Please install the latest Python 3 and restart VSCode.

I checked online and found that many people have encountered it and they also gave solutions:

sudo apt-get install python3-venv

【Ubuntu vscode pio extension install: PlatformIO: Can not find working Python 3.6+ Interpreter】
Insert image description here
【 Can not find working Python 3.6+ Interpreter #3764 】
Insert image description here【 Can not find Python Interpreter #1774 】
Insert image description here

Guess you like

Origin blog.csdn.net/joyopirate/article/details/132023932