How to uninstall PIO?


#1

I’ve been trying to uninstall PlatformIO via:
pip uninstall platformio
And returns:
Skipping platformio as it is not installed.
Try:
sudo pip uninstall Platformio
Returns:
The directory '/Users/rickyyang/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Skipping platformio as it is not installed.

In vscode, try:
platformio --version
Returns:
PlatformIO, version 3.6.1a4


#2

How did you install PIO in the first place? Via VSCode? Then just remove the plugin. Else try the sudo -H pip uninstall platformio or try pip2 instead of pip.