how to upgrade pip on mac terminal code example Example: mac update pip pip3 install --upgrade pip --user