1# The following commands will remove your make altinstall-ed python:
2
3rm -f /usr/local/bin/python2.7
4rm -f /usr/local/bin/pip2.7
5rm -f /usr/local/bin/pydoc
6rm -rf /usr/local/bin/include/python2.7
7rm -f /usr/local/lib/libpython2.7.a
8rm -rf /usr/local/lib/python2.7
9# You might also have to do
10
11rm -f /usr/local/share/man/python2.7.1
12rm -rf /usr/local/lib/pkgconfig
13rm -f /usr/local/bin/idle
14rm -f /usr/local/bin/easy_install-2.7