I intend to replace the default Python installation with the one from Homebrew. Below is a list of steps that I want to take, but I first want to make sure that I'm not doing anything destructive, which is why I'm posting this question. :-)
The
Python.frameworkfolder is located in/System/Library/Frameworks. Is it okay to remove it? Being underSystemI worry that I might break something.Remove all Python related files from
/usr/bin. In my case (and probably everyone else's), I'll be removing everything given byls -l /usr/bin | grep python:pythonpython-configpython2.6python2.6-configpython2.7python2.7-configpythonwpythonw2.6pythonw2.7
In my case I also have
pipinstalled. The only reference topipI found is in/usr/local/bin. To also uninstallpipI'll delete the files given byls -l /usr/local/bin | grep pip:pippip2pip2.7
Is there anything else that I should be doing to do a complete and correct uninstall? Are there any dangers that I should be aware of?
Aucun commentaire:
Enregistrer un commentaire