Linux安装anaconda

一、官方下载地址

https://www.anaconda.com/products/distribution#Downloads

选择Linux版本,arch查询当前架构,选择对应的版本

二、wget下载安装包,执行

wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh

chmod 777 Anaconda3-2021.11-Linux-x86_64.sh

./Anaconda3-2021.11-Linux-x86_64.sh

三、环境变量

 vi ~/.bashrc
export PATH=~/anaconda3/bin:$PATH
source ~/.bashrc

四、(base)解决

conda config --set auto_activate_base false
声明:本文为原创,作者为 温耀辉,转载时请保留本声明及附带文章链接:https://www.wenyaohui.com/64.html