Python Default version modification
When the computer has multiple versions of Python installed, and the default Python in the shell is not what you want, you will need to modify the default version of Python.
In Windows , you can do this by modifying the environment variables.
To do this, select the environment variable in the Advanced tab of the System properties:
Then select path in the system variable to edit it. You can see that Python 3.6 and Python 2.7 in Anaconda2 are installed in the system, and if you need to make Python 3.6 the default,
Then place the directory of Python 3.6 Python.exe in front of the Anaconda2, or put it behind.
To enter Python in the shell, the default is Python 3.6:
Note: Python.exe can use everything software to search quickly if you do not know where the directory is located.
Python Default version modification