首先下载:
进入:python官方网站
选择你要安装的系统
选择一个版本
下载完成后双击执行下载的exe程序,进入安装界面。
- 安装界面可以选择默认安装,也可以自定义安装 这里选择自定义安装
- 在选择路径安装时,可以把下方的“Add Python 3.6 toPATH”勾选上,这个就直接默认把用户变量添加上了
选择好后,继续下一步,全部默认选择即可,如有需要可变更,再下一步时直接更新安装存储的路径
继续下一步,则提示安装成功。
配置环境变量:
PYTHON_HOME
%PYTHON_HOME%\bin
同时在cmd中执行python
至此python已成功安装,可以使用了。