For example, if two python environments are created in Anaconda3, it is necessary to confirm python36.
Then add the following path to the path parameter of the system environment variable, and remove the path of other python execution programs:
C:\ProgramData\Anaconda3\envs\py36
In this case, after the system starts, typing python in cmd will use the python36 of py36 in envs.