配置 Conda
通过 .condarc 让 conda 从 Depsilo /conda/ 路由获取 channel 数据与包。
之前
https://repo.anaconda.com/pkgs/main之后
http://localhost:23333/conda/pkgs/mainConda 通过 .condarc 中的 channel 地址指向 Depsilo。Anaconda channel 路径必须包含 pkgs/。
配置客户端
链接到“配置客户端”小节channels: - http://localhost:23333/conda/pkgs/main - http://localhost:23333/conda/pkgs/rdefault_channels: []repodata_use_zst: falsedefault_channels: [] 防止自动回退到 repo.anaconda.com;repodata_use_zst: false 避免上游没有 .zst 元数据时产生 404。
验证请求
链接到“验证请求”小节-
确认实例就绪
终端窗口 curl -fsS http://localhost:23333/ready -
创建一次隔离的解析
终端窗口 conda create --dry-run -n depsilo-check python=3.12 -
在 Admin 中确认流量
在 Access logs 中核对
/conda/请求与缓存结果。