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
10# You might also have to do
11
12rm -f /usr/local/share/man/python2.7.1
13rm -rf /usr/local/lib/pkgconfig
14rm -f /usr/local/bin/idle
15rm -f /usr/local/bin/easy_install-2.7
16