天天看点

Windows 搭建Python 3.9 环境Windows 搭建Python 3.9 环境

Windows 搭建Python 3.9 环境

下载

下载地址:

https://www.python.org/downloads/windows/

选择64系统安装包:

Windows 搭建Python 3.9 环境Windows 搭建Python 3.9 环境

安装

双击安装

勾选自动配置环境变量,选择自定义安装(customize installation)

Windows 搭建Python 3.9 环境Windows 搭建Python 3.9 环境

选择安装内容

Windows 搭建Python 3.9 环境Windows 搭建Python 3.9 环境

自定义安装路径

Windows 搭建Python 3.9 环境Windows 搭建Python 3.9 环境

安装完成

在最后的结束界面中,需要点击 disable path length limit,禁用系统的 Path 长度自动限制

Windows 搭建Python 3.9 环境Windows 搭建Python 3.9 环境

环境变量配置

安装时候选择了ADD Python 3.9 to PATH 则无需配置了

Windows 搭建Python 3.9 环境Windows 搭建Python 3.9 环境

验证

Windows 搭建Python 3.9 环境Windows 搭建Python 3.9 环境
  • 出现以下内容表示安装成功,若不成功,检查环境变量配置
C:\Users\herion>python
Python 3.9.0 (tags/v3.9.0:9cf6752, Oct  5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>