安装 requests
时间: 2023-10-19 09:29:06 浏览: 78
5.安装第三方模块requests.zip
要安装requests模块,有几种方法可供选择。首先,你可以在命令行中输入"pip install requests"来进行安装。 此外,你还可以使用pip命令来安装和卸载模块,具体命令是"pip install 模块名"和"pip uninstall 模块名"。 最后,你也可以通过编辑pycharm的设置来安装requests模块,具体步骤是打开pycharm,点击"File",然后选择"Settings",再选择"Project:项目名",接着选择"Python Interpreter",点击左上角的加号,输入"requests"并点击"Install Package"。 以上是几种安装requests模块的方法,你可以根据自己的需要选择其中一种来进行安装。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [进阶篇2:网页爬虫——Requests模块安装(内含第三方库安装技巧)](https://blog.csdn.net/Vivian_Chen_/article/details/119601064)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Python之Requests模块简介与安装](https://blog.csdn.net/Liuyanan990830/article/details/130042153)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文