下载
一般使用选择Miniconda即可,Download
安装
一路确定,然后配置环境变量
C:\ProgramData\miniconda3\Library\bin
接受 Anaconda 仓库的服务条款
在当前项目的终端,依次复制并运行下面这三条命令:
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/msys2
根本解决方案(强烈建议):切换到免费的 conda-forge 频道
为了避免以后再次遇到类似的授权或网络问题,最一劳永逸的方法是配置 conda 默认使用由开源社区维护、完全免费的 conda-forge 频道
在你成功创建并激活环境后,运行以下两条命令来配置:
# 1. 设置 conda-forge 为最高优先级频道
conda config --add channels conda-forge
# 2. 设置严格频道优先级,避免混乱
conda config --set channel_priority strict
