python 2
wget https://repo.anaconda.com/archive/Anaconda2-2019.10-Linux-x86_64.sh
bash Anaconda2-2019.10-Linux-x86_64.sh
一路回车+输入yes即可
PyTorch 2.7
wget https://repo.anaconda.com/archive/Anaconda2-2019.03-Linux-x86_64.sh
bash Anaconda2-2019.03-Linux-x86_64.sh
一路回车+输入yes即可
python 3
wget https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
bash Anaconda3-2019.10-Linux-x86_64.sh
一路回车+输入yes即可
python 3.5
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-4.2.0-Linux-x86_64.sh
bash Anaconda3-4.2.0-Linux-x86_64.sh
一路回车+输入yes即可
python 3.6
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.0.1-Linux-x86_64.sh
bash Anaconda3-5.0.1-Linux-x86_64.sh
一路回车+输入yes即可
Anaconda3.5.3.0+python3.7
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.3.0-Linux-x86_64.sh
bash Anaconda3-5.3.0-Linux-x86_64.sh
一路回车+输入yes即可
下载速度慢的话用aria2c就行,wget是单线程的,aria2c是多线程。
apt install -y aria2
aria2c -s 5 +链接
比如
aria2c -s 5 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.0.1-Linux-x86_64.sh
其他版本
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
安装注意事项:
这里按回车,这里一直按空格,直到末尾
输入 yes,按回车,yes
安装成功后,退出 ssh,再次 ssh,输入 python,说明安装成功。
网友评论