cmd配置pip清华源
时间: 2023-10-01 10:11:47 浏览: 120
windows 配置pip源
要在cmd中配置pip的清华源,请按照以下步骤进行操作:
1. 打开cmd命令行窗口。
2. 输入`pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple`并按下回车键。这个命令会将pip的安装源更换为清华源。
3. 完成后,你就成功地将pip的安装源配置为清华源了。
注意:如果你想查看当前pip的配置信息,可以使用`pip config list`命令来查看。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [一零二三、pip设置永久清华源(永久更改pip源)](https://blog.csdn.net/m0_54925305/article/details/126596822)[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_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Windows下更换pip安装源为清华源](https://blog.csdn.net/weixin_44722009/article/details/125940747)[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_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [更换pypi镜像源与pip使用](https://download.csdn.net/download/weixin_38642636/14856194)[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_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文