周一02.2不同平台下环境变量的设置

win7:E:Python2;E:Python2Scripts;E:Python3Scripts

win10:直接添加文件路径

mac/linux:vim /etc/profile

     按a进入编辑模式,移动上下键跳到文件的末尾,写入

                  PATH=/usr/local/python3:$PATH

                  export PATH

                  按ESC,输入 :wq 

     

原文地址:https://www.cnblogs.com/wanglimei/p/10185661.html