第1步:安装Python
根据下面的地址,直接一键安装,路径选择C:\Python36,方便后面查找。
下载地址:https://www.python.org/ftp/python/3.6.3/python-3.6.3-amd64.exe
然后设置Python的环境变量, Path:“C:\Python36”
1).点击【我的电脑】->【属性】->【高级系统设置】

2).点击【环境变量】

3).找到【path】

4).新建环境变量,C:\Python36

第2步:安装pip(适用于3.3版本,3.6以后的版本默认已经安装pip)
1)安装Python的SetupTools
SetupTools是一个帮助你安装第三方工具包的增强工具软件,下载后一键安装。
下载地址:https://bootstrap.pypa.io/ez_setup.py
2)安装Python的包管理工具 pip
有点类似SetupTools ,但是比它强大,利用第二步安装的SetupTools进行安装,打开DOS界面,进入到目录:
C:\Python33\Scripts, 然后敲入命令: easy_install pip, 等待完成pip安装成功。
第3步:配置pip环境变量
将C:\Python33\Scripts目录配置到环境变量中,以后打开dos界面就可以直接输入pip命令了。
第4步:推荐安装Python编译器PyCharm
下载地址:https://download.jetbrains.8686c.com/python/pycharm-community-2018.2.4.exe
原创文章,作者:iTestCat,保留所有权利,禁止转载,如若转载,请联系作者!