Anaconda官网下载比较慢,可以在清华的镜像网站下载:地址,这里下载的版本是 Anaconda3-2021.11-Linux-x86_64.sh
下载完成后在文件所在路径下打开终端,输入下面的命令进行安装:
sh ./Anaconda3-2021.11-Linux-x86_64.sh
Welcome to Anaconda3 2021.11 In order to continue the installation process, please review the license agreement. Please, press ENTER to continue >>> (回车确认) ----------------------------------------------------------------------------------------------------------------- Do you accept the license terms? [yes|no] [no] >>> yes ----------------------------------------------------------------------------------------------------------------- Anaconda3 will now be installed into this location: /home/wj/anaconda3 - Press ENTER to confirm the location - Press CTRL-C to abort the installation - Or specify a different location below [/home/wj/anaconda3] >>>(选择安装位置,直接回车开始安装,等待) ----------------------------------------------------------------------------------------------------------------- Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no] [no] >>> yes
安装完成后输入下面的命令激活环境变量:
sudo gedit ~/.bashrc
输入conda版本查看命令,输出conda版本信息即为安装成功:
conda --version



