-
-
Save robbwagoner/c80728aac2661bbf54e1 to your computer and use it in GitHub Desktop.
Install Python 2.7 for Amazon Linux 2014.03 and older. Python 2.7 is the default for Amazon Linux 2014.09 and newer.
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
# Amazon Linux 2014.03 and older | |
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 | |
# Amazon Linux 2014.09 | |
yum install python27-setuptools | |
easy_install-2.7 pip | |
#pip2.7 install ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment