在安装python 目录下进入Scripts文件夹

Python 爬虫 安装 requests 库
在空白的地方按住Shift+鼠标右键
点击 ”在此处打开命令窗口“
Python 爬虫 安装 requests 库

安装第三方库 requests

执行pip install requests
Python 爬虫 安装 requests 库

打开python交互窗口

输入 import requests

如果没有报错,则安装成功

Python 爬虫 安装 requests 库

相关文章: