可从官网下载 Anaconda下载地址
bash Anaconda3-xxx.xxx.xxx-Linux-x86_64.sh
修改~/.bashrc
vim ~/.bashrc
#添加以下内容
export PATH=/home/syd/anaconda3/bin:$PATH
source activate
# 使其生效
source ~/.bashrc
#换源
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
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple