Created
June 19, 2011 21:11
-
-
Save munhitsu/1034761 to your computer and use it in GitHub Desktop.
python 2.7 (*.dmg) uninstall from OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7 | |
sudo rm -rf "/Applications/Python 2.7" | |
ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/2.7' | cut -d " " -f 18 | xargs -IM sudo rm /usr/local/bin/M | |
echo based on http://stackoverflow.com/questions/3819449/how-to-uninstall-python-2-7-on-a-mac-os-x-10-6-4 |
You need to sudo
Even with sudo I am receiving the same message: permission denied!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey, I am getting following errors:
mbp-de-user:bin maryam$ ls -l . | grep '../Library/Frameworks/Python.framework/Versions/2.7' | awk '{print $9}' | xargs rm
rm: 2to3-2.7: Permission denied
rm: idle2.7: Permission denied
rm: pydoc2.7: Permission denied
rm: python2.7: Permission denied
rm: python2.7-config: Permission denied
rm: pythonw2.7: Permission denied
rm: smtpd2.7.py: Permission denied
rm: trial: Permission denied
rm: twistd: Permission denied