Python的安装方法
1、第一,Python提供了Windows,Mac OX,Linux等系统下的安装包。我们以W坡纠课柩indows系统下安装Python为例,首先下载Python解释器,其中Windows x86-64 excutable installer是Windows系统下32位和64位可执行安装包的意思,x86代表32位,另外web-based installer是在线安装,embeddable zip file是可嵌入的zip文件。我们选择下载Windows x86-64 excutable installer就可以,如果电脑是32位操作系统要选择Windows x86 excutable installer,对于64位的操作系统,选择x86或者x86-64都行,因为64位操作系统可以兼容32位安装包。
2、第二,下载完毕后,直接点击安装包即可安装,首先弹出下图,选择Add Python3.7 to PATH,选择Customize installation,然后下一步。
3、第三,紧着就到Optional Features这不一步,点击Next即可。
4、第四,接着是Advanced Options这一步,选择Install for all users,Associate files with Python,Create shortcuts for installed applications,Add Python to envrionment variables,Precompile standards library复选框,定义安装路径,可以安装默认安装路径,然后点击Install(安装)。
5、第五,接下来就是Setup Progress过程啦,需要几分钟到十几分钟。
6、第六,最后Setup was successful,完成安装。
7、第七,验证一下Python是否安装成功,按Win+R键,输入cmd,弹出命令行工具,然后输入python回车,弹出如下:Python 3.7.2rc1 <tags/v3.7.2rc1:75a402a217,Dec 11 2018>,type help,copyright,credits or license for more information等信息,说明Python安装成功。