Miniconda安装记录

Miniconda安装记录

下载安装包

cd /home/download
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh

安装conda

# 可能需要安装压缩工具
yum install bzip2
bash Miniconda3-latest-Linux-x86_64.sh

配置conda

# 将conda加到系统环境中,让conda命令可以直接执行
echo 'export PATH="~/anaconda3/bin:$PATH"' >> ~/.bashrc
# 配置conda源,有时连conda的官方源不行,所以配一个国内源
# 看到有一个帖子,似乎说国内源不符合版权,清华的源会下,但是在清华源的官网没有看到下架提示
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 --set show_channel_urls yes
# 配置之后可能还不行,发现把defaults这一行注释掉就可以了
vim ~/.condarc
channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
# - defaults
show_channel_urls: true
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值