upgrade python windows using pip code example Example: pip upgrade command python -m pip install --upgrade pip