conda软件是生信环境管理重要工具,所谓安装管理全家桶。大部分的生信工具可以通过conda安装,熟练使用conda是生信学习的必备技能。
测试网络
ping www.baidu.com
conda常用的源有:pkg、conda-forge等
conda config --add channels conda-forge
conda config --set channel_priority flexible
查看已配置的conda源,以下命令选其一即可
conda config --get channels #此命令会明确标出通道优先级,与你.condarc文件上下顺序相反
conda config --show channels
conda config --show-sources
cat ~/.condarc
删除源
conda config --remove channels
conda config --remove-key channels #换回默认源
添加清华源的网址
cat ~/.condarc
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-forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda
conda config --set show_channel_urls yes
conda config --show
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64/
参考网址:
file:///C:/Users/corrs/Documents/WeChat%20Files/corrs123456/FileStorage/File/2024-03/anaconda.html
https://mp.weixin.qq.com/s?__biz=Mzg5MjY1MTU4Ng==&mid=2247484430&idx=1&sn=7df7c1d546ff5fce3e5d6e73f7569c2c&chksm=c03b9523f74c1c35e96bf287e959d1272c03e3248be2327a05e8228d785433088d784e48e3fc&mpshare=1&scene=24&srcid=0318pPWEuxH30ihzkvS34kV2&sharer_shareinfo=3105567573f35ba5d7d8c3b64ff4cb9a&sharer_shareinfo_first=3105567573f35ba5d7d8c3b64ff4cb9a#rd