windows安装python环境

10月 31, 2019 281点热度 0人点赞 0条评论
rx online1、下载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
  1. 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

Disable path length limit最后那个蓝色框框的
Changes your machine configuration to allow programs,including Python,
to bypass the 260 character"MAX_PATH" limitation.
这是说明你电脑对Python的一些限制,点击它然后确定权限就可以了。

 

 

图6
图7 4.检测是否安装成功输入python,有如print("hello world")前的表面安装成功;如图8 输入第一个python程序 hello world ; 其中exit()退出python; 也可以通过cortana找到idle进行编程。如图9
图8

李 锋

这个人很懒,什么都没留下

文章评论