The isolated installation of PlatformIO Core and dependent packages are installed to the core_dir folder. Just remove it.
Uninstall global PlatformIO Core if you did not use the Installer Script (Recommended):
# uninstall standalone PlatformIO Core installed via `pip` pip uninstall platformio # uninstall Homebrew's PlatformIO Core (only macOS users if you installed it via Homebrew before) brew uninstall platformio