Most recently tested on macOS Sierra (10.12.6)
- Install pip using Homebrew:
brew install python
. - Verify installation by running
pip3 --version
and copy path for next step. - Make sure
~/Library/Python/3.9/bin
is in your$PATH
. Forbash
users, edit thePATH=
line in~/.bashrc
to append the local Python path; ie.export PATH=$PATH:~/Library/Python/3.9/bin
. Apply the changes,source ~/.bashrc
.