命令:

pip install requests

这里建议使用阿里的镜像源:

pip install -i https://mirrors.aliyun.com/pypi/simple/ requests

Python 安装 requests

这个速度很快.

相关文章: