(1)在Path环境变量中检查以下4个变量(Path中的环境变量是以分号隔开的):
1.c:\Python27
2.c:\Python27\Scripts
3.c:\Python35
4.c:\Python35\Scripts
(2)进入Python2.7安装目录,把python.exe重命名为python2.exe
(3)进入python3.5安装目录。找到python.exe程序,把它重命名为python3.exe
(4)最后打开命令行界面测试一下
执行python2命令会进入python2.7的交互环境,执行python3命令会进入python3.3交互环境。
(5)pip的问题
两个python版本分别安装了pip以后怎么区分它们。进入python安装路径找到Scripts文件夹,进入里面找到pip*-script.py,打开修改第一句为你要指定的那个python解释器


