切换成 python2
setx PYTHON_PATH "C:\Python\Python27"
set PATH=%PATH%
echo %PATH%
=================================
切换成python3
setx PYTHON_PATH "C:\Python\Python35;C:\Python\Python35\Scripts;"
set PATH=%PATH%
切换成 python2
setx PYTHON_PATH "C:\Python\Python27"
set PATH=%PATH%
echo %PATH%
=================================
切换成python3
setx PYTHON_PATH "C:\Python\Python35;C:\Python\Python35\Scripts;"
set PATH=%PATH%
转载于:https://my.oschina.net/u/4000302/blog/2963847