博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Anaconda3换源配置
阅读量:3967 次
发布时间:2019-05-24

本文共 1301 字,大约阅读时间需要 4 分钟。

中科大源

conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/

清华源

清华源conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forgeconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/conda config --set show_channel_urls true

设置搜索时显示通道地址

conda config --set show_channel_urls trueconda upgrade --allconda config --remove-key channelsconda config --show-sourcesconda config --set show_channel_urls: true
# 先更新conda到最新版conda update conda# 再更新anaconda到最新版conda update anaconda# 这时候base(基础)环境就会被升级到最新版# 只升级pythonconda update python# base升级完以后,再升级其他环境:# 1先切换到其他环境activate 环境名# 2然后执行下面的命令,就可以把创建的环境升级到最新版了conda update --all
conda clean -i# 如果要设置搜索时显示通道地址,在prompt中执行下面的命令conda config --set show_channel_urls yes# 恢复默认源conda config --remove-key channels

转载地址:http://zpcki.baihongyu.com/

你可能感兴趣的文章
android驱动例子(LED灯控制)
查看>>
android驱动例子(LED灯控制)
查看>>
第二章 Android内核和驱动程序(转)
查看>>
第二章 Android内核和驱动程序(转)
查看>>
第一章 Android系统介绍
查看>>
Android电源管理(zz)
查看>>
Android HAL基础
查看>>
Android电源管理(zz)
查看>>
Android平台开发-Android HAL deve…
查看>>
Android HAL基础
查看>>
2011年06月21日
查看>>
Android平台开发-Android HAL deve…
查看>>
Android HAL实例解析
查看>>
2011年06月21日
查看>>
Android HAL实例解析
查看>>
在驱动模块初始化函数中实现设备节…
查看>>
在驱动模块初始化函数中实现设备节…
查看>>
synchronized(this)的意思是:
查看>>
synchronized(this)的意思是:
查看>>
Android USB 驱动分析
查看>>