uninstall python all version from mac code example
Example 1: completely uninstall python and all vritualenvs from mac
sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.7
Example 2: completely uninstall python and all vritualenvs from mac
sudo rm -rf "/Applications/Python 3.7"