pip install --upgrade pip' command. code example Example: how to upgrade pip python -m pip install --upgrade pip