Upgraded to 5.1.0, now can't build or initialize new projects

Hi,

I’m using PlatformIO in vscode. I clicked on a prompt to upgrade PlatformIO and now I can’t build or initialize new projects. I get the following error:

C:\Users{user}.platformio\python3\python.exe: can’t open file ‘C:\Users{user}.platformio\packages\tool-scons\scons.py’: [Errno 2] No such file or directory

How can I fix or rollback the upgrade?

Remove this folder and retry. It’ll be redownloaded.

Thank you. That appears to have worked.