From 2c031a73ed4a14e8e9d9bce72560b63a151c49ab Mon Sep 17 00:00:00 2001 From: Utkarsh Jaiswal Date: Fri, 18 Sep 2020 13:13:03 -0400 Subject: [PATCH] Add details on pip installation - macOS --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 73a963ef2..98fc1b2bd 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,20 @@ The Labelbox Python API offers a simple, user-friendly way to interact with the ## Installation & authentication +0. Prerequisite: Install pip + +`pip` is a package manager for Python. **On macOS**, you can set it up to use the default python3 install via - +``` +curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py +python3 get-pip.py +``` + +If the installation completes with a warning re: pip not being in your path, you'll need to add it by modifying your shell config (`.zshrc`, `.bashrc` or similar). You might have to modify the command below depending on the version of python3 on your machine. + +``` +export PATH=/Users//Library/Python/3.8/bin:$PATH +``` + 1. Install using Python's Pip manager. ``` pip install labelbox