Uninstalling Python 3 on a Mac
I installed Python 3 to learn Python and quickly realized that django isn't compatible with Python 3.
How do I uninstall Python 3 on my Mac so that I can install a different version?
Python.org has added uninstall directions to the documentation:
http://docs.python.org/3/using/mac.html
Reading this and then inspecting my install, my list of things to uninstall is:
- MacPython 3.3 folder in your Applications folder.
- /Library/Frameworks/Python.framework
- about 20 symlinks in /usr/local/bin.
- reference in shell path (if exists)
Using Text Wranger, which can show invisible files, I browsed my home folder and I didn't see a .bash_profile, just .bash_history. So the installer only adds the reference if the Bash profile exists. (echo $path) didn't show either. (see also: https://stackoverflow.com/questions/7501678/set-environment-variables-on-mac-os-x-lion)
The installer package really should include an uninstall script.
As of April 2013 most tutorials and courses still require Python 2, so many people will need to uninstall Python 3.