下载安装脚本
[root@ECS-2 ~]# wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
运行安装脚本
(base) [root@ECS-2 ~]# sh Miniconda3-latest-Linux-x86_64.sh
按空格跳到最后面输入yes
Do you accept the license terms? [yes|no]
>>> yes
选择安装位置
Miniconda3 will now be installed into this location:
/root/miniconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
初始化 miniconda
You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>> yes
[root@ECS-2 ~]# source ~/.bashrc
(base) [root@ECS-2 ~]# conda deactivate
[root@ECS-2 ~]# python3 --version
评论