pip upgrade python to 3.7 code example
Example 1: python update pip3
pip3 install --upgrade pip
Example 2: pip upgrade python
pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}
pip3 install --upgrade pip
pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}