本文共 291 字,大约阅读时间需要 1 分钟。
使用pip install 安装第三方模块
$ pip install requests
1、先克隆requests的源码到本地,比较省时间
2、切换到requests源码目录里,使用python内置的setup.py install 本地安装$ git clone git://github.com/kennethreitz/requests.git
$ cd requests
$ python setup.py install
转载地址:http://nhqwi.baihongyu.com/