brew install pip 3.9 code example Example: brew install pip python3 export PATH="/usr/local/opt/python/libexec/bin:$PATH"