how to upgrade python version in cmd code example Example: upgrade pip python -m pip install --upgrade pip