Conda 配置部署相关资料
1、下载地址
https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
2、进行安装配置
C:\Users\{用户名}\miniconda3\condabin
conda config --set show_channel_urls yes
conda init powershell
Set-ExecutionPolicy RemoteSigned
Set-ExecutionPolicy Restricted
conda config --set auto_activate_base False
conda config --set auto_activate_base True
3、使用国内镜像
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
deepmodeling: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/
conda clean -i
conda create -n myenv numpy