1.进入官网www.python.org

python安装后 环境变量 python安装环境变量_python

 

选择downloads

python安装后 环境变量 python安装环境变量_python_02

选择你需要的版本下载相应的文件即可

2 安装过程

python安装后 环境变量 python安装环境变量_Python_03

(1)勾选Add Python 3.6 to PATH是把Python的安装路径添加到系统环境变量的Path变量中
(2)选择Install Now默认将pythone安装在C盘目录下
(3)选择Customize installation可自定义路径

选择Customize installation后,这一步默认全选,然后点击next

python安装后 环境变量 python安装环境变量_python_04

修改一下安装目录,根据自己习惯就行,,勾选前四个

python安装后 环境变量 python安装环境变量_Python_05

点击install进行安装

安装成功

python安装后 环境变量 python安装环境变量_开发语言_06

在cmd中输入python

python安装后 环境变量 python安装环境变量_Python_07

这样就成功了,,环境变量在安装的过程中自动创建了,不需要我们手动创建