打开浏览器前往 Python 下载页(https://www.python.org/downloads/)。该网页会尝试获取你
的操作系统类型并显示对应的 Python 版本。如果它显示的不对,你可以手动从下面几个链
接中选择对应的版本下载:
• Python Releases for Windows(https://www.python.org/downloads/windows/)
• Python Releases for Mac OS X(https://www.python.org/downloads/mac-osx/)
• Python Source Releases (Linux and Unix,https://www.python.org/downloads/source/)
你会看到类似图 D-1 的网页。
点击最新版本的下载链接。在记录时是 3.9.5。点击后会跳转到详细信息页,如图 D-2
所示。
根据自己的需求下载,本人下载的如下版本:
点击对应版本的链接即可将 Python 下载到你的电脑了。
Windows
对于 Windows,根据自己计算机的具体环境选择下面的安装包之一:
Download Windows embeddable package (32-bit)
Download Windows embeddable package (64-bit)
Download Windows help file
Download Windows installer (32-bit)
Download Windows installer (64-bit)
如果你不清楚自己的 Windows 到底是 32 位还是 64 位,可以执行下面几步来查看:
(1) 点击“开始”按钮;
(2) 右键点击“计算机”;
(3) 点击“属性”,就可以找到相关信息了。
点击适当的安装包链接(.msi 文件)。下载完成后双击打开,并根据安装指导进行安装。
1、双击
2、点击运行
3、等待安装即可
Python学习记录——安装Python 3
最新推荐文章于 2024-05-21 22:44:12 发布