Skip to content

Commit 6d82615

Browse files
authored
Add details on pip installation - macOS (#69)
1 parent adebacf commit 6d82615

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ The Labelbox Python API offers a simple, user-friendly way to interact with the
1212

1313
## Installation & authentication
1414

15+
0. Prerequisite: Install pip
16+
17+
`pip` is a package manager for Python. **On macOS**, you can set it up to use the default python3 install via -
18+
```
19+
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
20+
python3 get-pip.py
21+
```
22+
23+
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.
24+
25+
```
26+
export PATH=/Users/<your-macOS-username>/Library/Python/3.8/bin:$PATH
27+
```
28+
1529
1. Install using Python's Pip manager.
1630
```
1731
pip install labelbox

0 commit comments

Comments
 (0)