update pip index for a package code example Example: how to update pip python python -m pip install --upgrade pip