赞
踩
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
设置conda源,先执行如下命令生成 .condarc文件
conda config --set show_channel_urls yes
修改 .condarc文件,windows一般在C盘用户文件夹下,如下是个人常用的源
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
设为全局默认命令
百度源
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
或
pip config set global.extra-index-url "<url1> <url2>..."
请自行替换引号内的内容,源地址之间需要有空格
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。