1、下载
在官网下载anaconda之后会得到这一个.exe文件,
下载:www.anaconda.com/download/
2、安装
双击打开安装,过程中注意几个点:
1)选择all users
2)如果不想c盘爆红的话,选择其他盘,小编这里选择的是b盘,保底5个G
3)这几个全选
4)下面这两个不用选,是打开导航和分布式教程
3、设置系统环境变量
控制面板>>系统和安全>>系统>>高级系统设置>>环境变量>>系统变量>>双击path
你们的自行改一下
B:\anaconda
B:\anaconda\Scripts
B:\anaconda\Library\bin
B:\anaconda\Library\mingw-w64\bin
4、查看版本号
conda --version
5、修改下载位置
在anaconda prompt中输入:
conda config --set show_channel_urls yes
然后在>>此电脑>>C盘>>用户>>用户名下,找到.condarc,用.txt打开
把里面的内容换成下载路径:
envs_dirs:
- B:\Anaconda_envs\envs
pkgs_dirs:
- B:\Anaconda_envs\pkgs
6、镜像源设置:conda config --add channels
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/free/
conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
conda config --set show_channel_urls yes
7、查看信息:conda info
conda info
1)镜像源下载了
2)安装包的位置也在我们设置的PATH里面:
7、镜像源卸载 conda config --remove channels
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --remove channels https://mirrors.aliyun.com/anaconda/pkgs/free/
conda config --remove channels https://mirrors.aliyun.com/anaconda/pkgs/main/
conda config --remove channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --remove channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --remove channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --remove channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
conda config --remove channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
conda config --remove channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/