Created
May 6, 2017 15:53
-
-
Save ssmythe/60689304cd103d55f24714ca95d16b36 to your computer and use it in GitHub Desktop.
Download get-pip.py and install pip
This file contains 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
#!/usr/bin/env bash | |
if [[ $(whoami) != "root" ]]; then | |
echo "ERROR: must be run as root" | |
exit 1 | |
fi | |
cd /tmp | |
curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
python get-pip.py | |
rm -f get-pip.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment