1、安装环境windows10
2、下载windows下的python安装包
python下载地址:https://www.python.org/
从上述网站中进去python官网,进行如下操作:
(1) Downloads->Windows->View the full list of downloads。如图1.
(2) Looking for Python with a different OS? 中选择Windows选项。 如图2.
(3) 根据操作系统选择需要的版本(以3.6.5版本64位为例)。如图3
其中,x86是32位,x86-64是64位。
可以通过下面3种途径获取python:
web-based installer 是需要通过联网完成安装的
executable installer 是可执行文件(*.exe)方式安装
embeddable zip file 嵌入式版本,可以集成到其它应用中。
图1
图2
图3
3. Python的安装
流程如下:
(1) Install Now是默认安装;Customize installation 是自定义安装;勾选Add python 3.6 to path后自定义安装。如图4
(2) 默认,点next。如图5
(3) 勾选Install for all user;然后选择安装目录(图装在D盘);然后点击install安装程序。如图6
(4) 最后在安装成功后结束界面可,能会出现Disable path length limit的按钮,有的话点一下就好了,禁用系统的Path长度自动限制,能给我们避免很多的麻烦。 如图7
至此,python安装完成。
;
图4
图5


图8
图9