Created
December 20, 2013 22:18
-
-
Save jnrbsn/8062545 to your computer and use it in GitHub Desktop.
Install Python 2.7, easy_install, and pip on Amazon Linux
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
sudo yum update | |
sudo yum install python27 | |
curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | sudo /usr/bin/python27 | |
sudo easy_install pip | |
echo "alias python='python27'" >> ~/.bashrc | |
source ~/.bashrc |
sudo pip install -U pip setuptools wheel
sudo cp /usr/local/bin/pip /usr/bin/
I guess the script is offline now..
curl url invalid anymore...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo yum install python34-pip