Error msg when starting Code/pio re. "gcc"

Hello,

after a few month of absence using it I’m getting the following error message when starting vscode:

What would be the proper steps to correct the error - or can I just continuing using and compiling my project(s)?

I noticed that over time several updates have been done to vscode since last start.

Sorry for asking this question but I’m not a seasoned expert in vscode/pio.

TIA

Linux Mint 22.1 with VScode 1.107.1

PlatformIO regularly self-destructs. The ‘solution’ is to nuke ~/.platformio (mv it away if you’re not YOLO about such things) and let it re-download all of its python internals. We see this on all three desktop-ish platforms in this group on a regular basis. Something about its own updates seems to trip it up.

Thanks for the tip.

Wow, over 10,000 files in this folder.

I did as suggested.

However, on restart, it still shows the same messages as before.

I guess I have to figure out which project is referring to the “missing’ compiler and start there.

Cheers

Bummer.

Mabye pio run -v will tell you more about what it’s trying to run or why. You might have to tear into the python itself and try to understand what it’s looking for or why it’s not finding it. Maybe there’s some science to that beyond sticking print calls all over the place; I could never make the python debugger work.

Python is notorious about breaking compatibly to the point that they have a whole venv thing so this weeks Python can run last week’s code. All you have to do is reinstall all your libraries on all your computers once in a while in case Python is too old…or too new.

You can probably tell I’m unamused by the lack of responsible computer science in the whole thing. Platformio just quits working on one or more of my development systems about once a quarter and requires hours of general faffing about without a clear cause.

Good luck! :santa_claus:

Thanks for the tips.