python安装for-win

下载

地址:https://www.python.org/downloads/

image-20210312091507272

我这里选择 3.8

https://www.python.org/downloads/release/python-388/

image-20210312091714233

安装

image-20210312093943165

image-20210312094031714

安装完成

验证

  • 确保 python 的环境变量在最上边

image-20210312094259942

  • 重新打开 cmd 执行 python
1
2
3
4
C:\Users\wuzhiyong>python
Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

表示安装成功!