conda添加channel
时间: 2023-08-19 10:11:13 浏览: 120
要在conda中添加channel,可以使用以下命令:
1. 在channel list最上面添加channel,使其优先级最高:
conda config --prepend channels CHANNEL
或
conda config --add channels CHANNEL
2. 在channel list最下方添加channel,使其优先级最低:
conda config --append channels CHANNEL
其中,CHANNEL是你要添加的channel的链接或名称。例如,如果要添加名为"mychannel"的channel,可以使用以下命令:
conda config --prepend channels mychannel
如果要添加一个镜像channel,可以使用以下命令:
conda config --add channels 镜像链接
请注意,添加channel可能需要管理员权限。
#### 引用[.reference_title]
- *1* [Conda channels配置](https://blog.csdn.net/Curry_chenhu/article/details/109845749)[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^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [conda命令行常用操作](https://blog.csdn.net/X_And_Y/article/details/117855781)[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^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [conda如何添加,删除镜像channel,管理虚拟环境,以及其他常见命令。](https://blog.csdn.net/qq_43391414/article/details/115071599)[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^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文