1. DO NOT attempt to remove any Apple-supplied system Python which are in /System/Library
and /usr/bin
.
2. Multiple Python versions can coexist pacifically on macOS. So, uninstalling Python is purely optional.
To remove a different version, change 3.7
to the Python version you want to remove.
sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.7
sudo rm -rf "/Applications/Python 3.7"
sudo find /usr/local/bin -lname '../../../Library/Frameworks/Python.framework/Versions/3.7/*' -delete