python2.7 安装setuptools、pip、requests模块

1、下载地址setuptools模块
       

    http://peak.telecommunity.com/dist/ez_setup.py

 
2、cmd下cd切换到ez_setup.py目录文件夹里,执行python ez_setup.py
 
3、下载pip模块 https://pypi.python.org/pypi/pip#downloads

  cmd下cd切换到解压后的目录文件里,执行 pythonsetup.py install
 
4、windows系统下系统变量PATH,添加“C:\Python\Scripts”
 
5、requests模块的安装:pip install requests ,其他模块参考此法

转载自:https://blog.csdn.net/mycms5/article/details/58056641

You may also like...