pip update pip setuptools code example Example: how to update pip python python -m pip install --upgrade pip