如果是windows安装完成后,需要将’\Python27\Scripts\’加入系统环境变量复制代码 代码如下:# coding=utf-8import osimport urllib2url=’https://raw.github.com/pypa/pip/master/contrib/get-pip.py’print ‘load begin,please waite’response=urllib2.urlopen(url)with open(‘./download.py’,’w’) as f: f.write(response.read())print ‘load end’
impor