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