win10 anaconda pytorch avalanche-lib 实验步骤记录

复制代码
conda create --name test_python3.10
conda activate test_python3.10
配置conda国内源(北外)
conda install pytorch torchvision torchaudio cpuonly -c pytorch
pip3 install avalanche-lib  -i    https://pypi.tuna.tsinghua.edu.cn/simple
conda install jupyter
jupyter notebook


鼠标单击 run notebook

生成conda源的配置文件:

复制代码
conda config --set show_channel_urls yes

/home/hanmeimei/.condarc

C:\User\hanmeimei\.condarc

改成如下北外源的内容:

复制代码
channels:
  - defaults
show_channel_urls: true
channel_alias: https://mirrors.bfsu.edu.cn/anaconda
default_channels:
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/main
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/free
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/r
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/pro
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/msys2
custom_channels:
  conda-forge: https://mirrors.bfsu.edu.cn/anaconda/cloud
  msys2: https://mirrors.bfsu.edu.cn/anaconda/cloud
  bioconda: https://mirrors.bfsu.edu.cn/anaconda/cloud
  menpo: https://mirrors.bfsu.edu.cn/anaconda/cloud
  pytorch: https://mirrors.bfsu.edu.cn/anaconda/cloud
  simpleitk: https://mirrors.bfsu.edu.cn/anaconda/cloud

清楚原先的下载配置缓存:

复制代码
conda clean -i

channels:

  • defaults

show_channel_urls: true

channel_alias: https://mirrors.bfsu.edu.cn/anaconda

default_channels:

custom_channels:

conda-forge: https://mirrors.bfsu.edu.cn/anaconda/cloud

msys2: https://mirrors.bfsu.edu.cn/anaconda/cloud

bioconda: https://mirrors.bfsu.edu.cn/anaconda/cloud

menpo: https://mirrors.bfsu.edu.cn/anaconda/cloud

pytorch: https://mirrors.bfsu.edu.cn/anaconda/cloud

simpleitk: https://mirrors.bfsu.edu.cn/anaconda/cloud

相关推荐
搬砖的梦先生2 分钟前
Codex 全 AI 辅助测试操作指南
人工智能
shchojj3 分钟前
What is Generative AI -Welcome
人工智能·chatgpt
NebulaData6 分钟前
从通用到垂直:AI 平台竞争的下半场与产业落地路径
人工智能·数据挖掘
NingboWill6 分钟前
AI日报 - 2026年05月13日
人工智能·快手·ai ppt·宇树
APIshop6 分钟前
俄罗斯电商 Ozon 平台:ozon.item_get 商品详情接口深度技术解析
python
跨境卫士苏苏7 分钟前
欧盟固定收费临近轻小件卖家如何判断继续铺量还是收缩
大数据·人工智能·安全·跨境电商·亚马逊
高工智能汽车7 分钟前
从新势力到合资豪华旗舰 百度地图车道级SR导航何以成为高端旗舰车型首选?
人工智能·汽车
数据皮皮侠7 分钟前
上市公司内源与债权股权融资协同数据(2009-2025)
大数据·人工智能·算法·microsoft·百度
2601_9585990413 分钟前
ChatGPT 全能力解析:从核心功能到多模型协同,解锁 AI 生产力天花板
人工智能·chatgpt
俊哥V16 分钟前
AI一周事件 · 2026年5月6日至5月12日
人工智能·ai