1.下载插件包
地址:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#distribute
包名:
requests-2.12.4-py2.py3-none-any.whl
2.安装requests的whl文件之前,先要将%python_home%/Scripts目录添加到path中,然后在包所在目录下打开CMD
C:Users10131613Downloads>pip install requests-2.12.4-py2.py3-none-any.whl Unpacking c:users10131613downloads equests-2.12.4-py2.py3-none-any.whl Installing collected packages: requests Successfully installed requests Cleaning up...
3.报错消失