Windows下Python安装

2025-11-09 17:14:13

1、到python官网下载安装文件python-2.7.14.msi:

2、双击“python-2.7.14.msi”进行安装:

安装的过程中直接按照提示界面依次进行下一步即可。

Windows下Python安装

Windows下Python安装

Windows下Python安装

Windows下Python安装

Windows下Python安装

Windows下Python安装

3、设置python环境变量:

修改我的电脑->属性->高级->环境变量->系统变量中的PATH为第2步中设置的安装路径,如下图所示。

Windows下Python安装

4、检查Python是否安装成功

windows系统,运行cmd,进入dos窗口,输入python,安装成功的话可以看到版本信息并进入编程模式,如下图所示:

C:\Users\it_gzs>python

Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>>

Windows下Python安装

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢