Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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