WindowsXP/7/10 Python3.6.3开发环境配置图文教程
一、内容:
操作系统:WindowsXP/7/10
1.Python3.6.3安装及环境配置
2.pip安装方式以及升级到最新版本
3.IDE安装
二、准备工作:
1.下载python3.6.3(https://www.python.org/ftp/python/3.6.3/python-3.6.3.exe)
2.pip(https://pypi.python.org/pypi/pip)
3.pycharm(https://download.jetbrains.8686c.com/python/pycharm-community-2017.2.4.exe)
三、安装python3.6.3
1.打开 下载的python3.6.3,开始安装,如下图在 “1”处打勾,选择自定义安装。

2.全选,Next

3.选择安装路径,1处打勾,2处选择安装路径,然后intstall

4.安装中...

5.安装完成

6.测试安装是否正确
CMD进入命令行模式,输入python,显示处如下图即为安装正确。

然后输入print('Hello Python'),返回结果如下即说明大功告成。

8.如果显示结果失败或者找不到命令行之类的,则进行手动配置运行环境。
path=C:\Python36-32;C:\Python36-32\Scripts\
四、pip安装方式以及升级到最新版本
1.cmd命令模式下输入pip --version查看版本

检测到是pip 9.0.1版本 ,当前最新版本。
若不是最新版本可以用以下命令进行更新:
(1)pip模式更新
pip install https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9
(2)若pip升级失败,就到python官网进行下载安装包进行安装升级
官网地址:https://pypi.python.org/pypi/pip ,如下图:


a.将下载的安装包,解压到C盘,如c:\pip9.0.1\;
b.在DOS下进入pip-9.0.1文件夹,输入:python setup.py install 进入pip安装
c.pip --version查看版本,一样的就ok了
五、IDE安装
1.下载pycharm(下载地址:https://download.jetbrains.8686c.com/python/pycharm-community-2017.2.4.exe)
2.然后没然后了,自己搞咯
六、其他
1.学习资源:http://study.163.com/topics/Python_SEM
2.廖雪峰博客:https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000
如果有其它的优质学习资源,在下面留言哦~