目录
一、Python安装
1、下载:官网Welcome to Python.org----->Downloads----->Windows----->在Stable Releases栏下选一版,建议选稳定的,例如3.7.9(64位系统点Windows x86-64 executable installer,32位系统点Windows x86 executable installer。
2、安装:找到文件,以管理员身份运行----->勾选Add Python to PATH添加路径----->点击Customize installation自定义安装----->Next----->选择安装路径,例如D:\Download\Python----->Install----->Close
3、配置环境变量:电脑----->属性----->高级系统设置----->环境变量----->添加路径----->确定三连
二、检查Python安装成功
1、在DOS窗口(Win+R----->cmd)执行命令python,返回如下则装成功。
退出:Ctrl+z----->回车
(1)查看Python版本:DOS----->python -V
(2)查看Python所在路径:DOS----->where python