1、常用软件下载
1、Miniconda软件下载:
windows网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/?C=S&O=A
2、最新版Miniconda下载网址:https://docs.conda.io/projects/miniconda/en/latest/
3、常用代码编辑器VsCode下载网址:https://code.visualstudio.com/download
2、conda源设置
设置conda源,先执行如下命令生成 .condarc文件
python
conda config --set show_channel_urls yes
修改 .condarc文件,windows一般在C盘用户文件夹下,如下是个人常用的源
python
channels:
- defaults
show_channel_urls: true
default_channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
3、pip源设置
设为全局默认命令
python
百度源
pip config set global.index-url https://mirror.baidu.com/pypi/simple
设置清华源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
或
python
pip config set global.extra-index-url "<url1> <url2>..."
请自行替换引号内的内容,源地址之间需要有空格