Last active
June 27, 2018 00:41
-
-
Save calum-github/f19699aef289ceb7d9bcedc84191c7fa to your computer and use it in GitHub Desktop.
Installing Pip on Mac OS 10.12+
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
## 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