因为工作需求,一位windows10正式版网友,想要在最新的系统中搭建python 3.5.2开发环境。那么,这该怎么操作呢?会不会非常复杂呢?为了借助我们更好地使用win10系统,下面小编就分享搭建和测试python 3.5.2开发环境的具体办法。
具体办法如下:
1、首先从python官方下载安装软件,如下图,写入ip地址;
2、找到download,点击下面python 3.5.2进入下载页面;
3、打开“windows x86-64 executable installer”进行下载;
各个版本的详解:
(下面的都是windows系统平台的安装包,x86适合32位操作系统;x86-64适合64位操作系统)
下面是官方的解释:
The binaries for AMd64 will also work on processors that implement
the intel 64 architecture. (Also known as the "x64" architecture, and
formerly known as both "EM64T" and "x86-64".) They will not work on
intel itanium processors (formerly "iA-64").
windows users: if installing python 3.5 as a non-privileged user,
you may need to escalate to administrator privileges to install an
update to your C runtime libraries.
windows users: There are now "web-based" installers for windows
platforms; the installer will download the needed software components at
installation time.
windows Users: There are redistributable zip files containing the
windows builds, making it easy to redistribute python as part of another
software package. please see the documentation regarding Embedded distribution for more information.it is intended for acting as part of another application, rather than being directly accessed by end-users.
可以通过下面3种途径获得python:
web-based installer 是需要通过联网完成安装的
executable installer 是可执行文件(*.exe)方式安装
embeddable zip file 嵌入式版本,可以集成到其它应用中
4、找到下载后的文件;
5、双击安装文件,打开下图所示的自定义安装“custom installation”;
6、打开下一步,“next”;
7、此处可更换安装目录,然后点击安装“install”;
8、等待自动安装……
9、安装成功!
运行测试:
1、启动python shell,在“搜索web和windows”中写入:idle;
2、就会启动python idLE,可以交互运行python;
3、同样可以按“Ctrl + n”打开idLE开发工具,写入程序代码;
4、编写完程序后,“Ctrl + s”保存,然后如大多数编程软件一样,按“F5”运行程序;
5、如果程序无问题,此时在idle中打印出“Hello world!”。
win10搭建python 3.5.2开发环境教程就详解到这里了。刚刚使用windows10正式版的网友们,如果也有同样需求的话,不妨按照上述步骤操作自己手动一遍。
系统推荐
教程推荐