PlatformIO IDE update 3.2.0 Error in vscode


I recently (attempted) to update PlatformIO to version 3.2.0 within vscode.

I now only get the error "Traceback (most recent call last): File “C:\Users<MyUsername>.platformio.cache\tmp\”, line 69 in main() File… each time that vscode is launched.

In addition, I’ve also recieved 15+ errors saying "Unable to resolve configuration with compilerPath: “C:\Users<MyUsername>.platformio\packages\toolchain-gccarmnoneeai@1.90201.191206\bin\arm-none-eabi-gcc.exe” as well as the same error referencing atmelavr instead of gccarmnoneeabi.

I have used this extension for years with no issues, and now it suddenly started throwing these errors all over the place. It is worth noting that sometimes I am still able to get past this error and build a package, but it rarely works.

Any help would be appreciated!

I have been facing the same issue for the past few months, I have found no answers.
I am on Linux though. possibly it is a python issue as it is seen in both linux for me, and
windows for you?

  1. Close VSCode
  2. rm -rf ~/.platformio (or delete C:\Users\<user>\.platformio on Windows)
  3. Reopen VSCode
  4. Let it reinstall itself
1 Like

SOLUTION: Windows Defender was blocking Python.exe, which was why the updater was failing. I’m not sure how this would be fixed on Linux, but maybe a similar solution could be the case?

Regardless, thank you for your assistance.