Please remove ~/.platformio/penv & ~/.platformio/python3 folders. Restart VSCode.
~/.platformio/penv
~/.platformio/python3