Skip to content

Instantly share code, notes, and snippets.

@zoonderkins
Last active December 11, 2018 15:44
Show Gist options
  • Save zoonderkins/032f11bfa65fc36ef24ce5016986fd2a to your computer and use it in GitHub Desktop.
Save zoonderkins/032f11bfa65fc36ef24ce5016986fd2a to your computer and use it in GitHub Desktop.
Python uninstall from Mac #mac #python

Uninstall Python from mac

Via PKG

// ENV: Mac OSX 10.14.2
// Follow step by step (Python3)
$ which python3
... return /Library/Frameworks/Python.framework/Versions/xxx

// cd into Versions folder
$ cd /Library/Frameworks/Python.framework/Versions

// remove v3.7
$ sudo rm -rf 3.7 Current

// in /usr/local/bin
$ rm -rf python3.7* 
$ rm -rf pydoc3*

Via homebrew

brew rm python3

Upgrade pip

pip install --upgrade pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment