VSC: The 'platformio==3.5.0a17' distribution was not found and is required by the application

A few days ago my pio VSC Core went from 3.5.0a16 to 3.5.0a17 and all went well.

This morning I see a new version for core 3.5.0b2 and receive the following python error message when I want to compile:

The 'platformio==3.5.0a17' distribution was not found and is required by the application

Solved by:

  • de-installing PIO IDE from VSC
  • deleting pio files from python Script folder
  • deleting folder .platformio from user
  • reboot
  • re-installing PIO IDE in VSC and wait to complete all downloads.

Just remove %USERPROFILE%/.platformio/penv folder and restart IDE.