Skip to content

Instantly share code, notes, and snippets.

@calum-github
Last active June 27, 2018 00:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calum-github/f19699aef289ceb7d9bcedc84191c7fa to your computer and use it in GitHub Desktop.
Save calum-github/f19699aef289ceb7d9bcedc84191c7fa to your computer and use it in GitHub Desktop.
Installing Pip on Mac OS 10.12+
## Download the get pip script
$ curl -o get_pip.py https://bootstrap.pypa.io/get-pip.py
## Switch to root user
$ sudo su
## Run the script as root
# ./get_pip.py
## Switch back to regular user and install modules with pip
# exit
$ pip install requests --user
$ pip install python-dotenv --user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment