目录
一、下载安装包
1.打开官方网站:https://www.python.org/
2.下载合适版本,以Windows64位操作系统为例。
下载帮助文件:Download Windows help file
下载基于网页的安装程序: Download Windows x86-64 web-based installer
下载可执行的安装程序: Download Windows x86-64 executable installer
下载python程序的压缩包: Download Windows x86-64 embeddable zip file
一般选择Download Windows x86-64 executable installer下载安装。
如何查看电脑信息?
1.同时按住Windows和R键,在出现的窗口里输入dxdiag指令,并点击确定。
2.打开DirectX,找到操作系统信息。
二、安装python
1.找到文件位置
2.双击打开安装包
注意:勾选Add Python X.X to PATH
若未勾选,按照以下步骤添加环境变量。
1.右键点击"计算机",点击"属性"
2.点击"高级系统设置"
3.选择"系统变量"窗口下面的"Path",双击。
4.然后在"Path"行,添加python安装路径。
3.点击Install Now
4.安装成功
三、验证
1.同时按住Windows和R键,在出现的窗口里输入cmd指令,并点击确定。
2.在出现的窗口输入python。
3点击enter回车键,若出现python相关信息,则说明安装成功。
参考文献:
[1] 怎么查看电脑是多少位的?https://jingyan.baidu.com/article/c45ad29c61f7e4051653e27d.html
[2] 如何添加环境变量?https://www.cnblogs.com/huangbiquan/p/7784533.html