Created
March 12, 2012 00:25
-
-
Save didip/2018847 to your computer and use it in GitHub Desktop.
What to do after upgrading Python
This file contains hidden or 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
cd /tmp | |
# fix pip | |
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
sudo python /tmp/get-pip.py | |
# Fix setuptools | |
# Download the appropriate .egg from here: http://pypi.python.org/pypi/setuptools | |
curl -O http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg#md5=fe1f997bc722265116870bc7919059ea | |
sudo python /tmp/setuptools-0.6c11-py2.7.egg | |
# Fix distribute | |
curl -O http://python-distribute.org/distribute_setup.py | |
sudo python distribute_setup.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's right! Much simpler that way.
The gist is pretty much "What should I do if I only have shell and default python".