安装 Ananconda
wget wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh
- 注意,选择安装路径时,如果想要所有用户都能使用,则安装在
usr/local/ananconda3
目录下
- 注意修改
/etc/profile.d
下的conda.sh
,指定环境变量(在登入另外的用户时会提醒)
- 更改源。创建
~/.condarc
文件,输入
channels:
- defaults
show_channel_urls: true
channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda
default_channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro
- https://mirrors.tuna.