where is my python
which python
which python2.7
remove python in Applications
- remove the Python 2.7 framework
sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7 - remove the Python 2.7 applications directory
sudo rm -rf "/Applications/Python 2.7" - remove the symbolic links in
/usr/local/binthat point to this python version seels -l /usr/local/binremove python installed with pkg installerpkgutil --pkgs | grep org.python.Pythonremove python installed with homebrewremove python installed with finkpython is installed in /sw directorysudo -r rm /swsudo fink uninstall pythonremove python installed with macportpython is installed in /opt directoryport -y -u uninstallsudo port uninstall python27sudo port -f uninstall --follow-dependents python27extra workremove the symbolic links in/usr/local/binthat point to this python version seels -l /usr/local/binsudo rm /usr/bin/python2.7.profileor.bash_profileremove the python stuff in:open -t ~/.bash_profile