查看conda下载地址https://conda.io/en/latest/miniconda.html
1
wget https://repo.anaconda.com/miniconda/Miniconda2-latest-Linux-x86_64.sh
2
bash Miniconda2-latest-Linux-x86_64.sh
> yes
3 mac 修改环境变量 zsh => export PATH="$PATH:/root/miniconda2/bin"
bashrc 不用修改则直接source ~/.bash.rc即可
4 conda list
5 conda create -n py35 python=3.5
#
# To activate this environment, use:
# > source activate py35
#
# To deactivate an active environment, use:
# > source deactivate
#
7 查看列表 conda info -e
设置源
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
网友评论