anaconda使用pip安装卡顿
时间: 2023-10-22 18:03:07 浏览: 99
如果在使用anaconda时,使用pip命令进行安装出现卡顿的情况,可以尝试配置pip的镜像来提高下载速度。类似于配置anaconda的镜像,配置pip的镜像也可以通过修改conda配置文件来实现。首先,在控制台中输入以下命令来配置pip的镜像:
```
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --set show_channel_urls yes
```
以上命令将pip的镜像设置为清华大学镜像站,这样能够提高pip命令下载的速度。希望这个方法对您有帮助。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Linux服务器安装的anaconda下载库、包很慢](https://blog.csdn.net/a_cherry_blossoms/article/details/123434767)[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* [DD_Monitor:DD监控室第一版](https://download.csdn.net/download/weixin_42099087/15636398)[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 ]
阅读全文