news 2026/6/10 1:04:38

conda安装环境问题

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
conda安装环境问题

问题描述

(base)root@/ai/stor# conda create -n llm_env python 3.10 -yCondaToSNonInteractiveError: Terms of Service have not been acceptedforthe following channels. Please accept or remove them before proceeding: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r To accept these channels' Terms of Service, run the following commands: conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r For information on safely removing channels from your conda configuration, please see the official documentation: https://www.anaconda.com/docs/tools/working-with-conda/channels

问题分析

这个错误是因为使用的 Miniconda 版本(或其默认配置的 Anaconda 频道)要求用户显式接受其服务条款(Terms of Service, ToS)才能下载包。

解决方法

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 create -n llm_env python 3.10 -y即可

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/6/9 3:24:19

微信网页版终极解决方案:wechat-need-web插件一键突破访问限制

微信网页版终极解决方案:wechat-need-web插件一键突破访问限制 【免费下载链接】wechat-need-web 让微信网页版可用 / Allow the use of WeChat via webpage access 项目地址: https://gitcode.com/gh_mirrors/we/wechat-need-web 还在为微信网页版频繁出现的…

作者头像 李华
网站建设 2026/6/6 11:13:04

XUnity.AutoTranslator完整指南:Unity游戏多语言自动翻译终极方案

XUnity.AutoTranslator完整指南:Unity游戏多语言自动翻译终极方案 【免费下载链接】XUnity.AutoTranslator 项目地址: https://gitcode.com/gh_mirrors/xu/XUnity.AutoTranslator XUnity.AutoTranslator是一款专为Unity游戏设计的智能翻译解决方案&#xff…

作者头像 李华
网站建设 2026/6/9 2:26:01

如何高效使用NVIDIA Profile Inspector:游戏性能优化完整指南

如何高效使用NVIDIA Profile Inspector:游戏性能优化完整指南 【免费下载链接】nvidiaProfileInspector 项目地址: https://gitcode.com/gh_mirrors/nv/nvidiaProfileInspector NVIDIA Profile Inspector是一款专为NVIDIA显卡用户设计的深度优化工具&#x…

作者头像 李华
网站建设 2026/6/6 13:04:51

XUnity自动翻译插件:5分钟快速上手指南

XUnity自动翻译插件:5分钟快速上手指南 【免费下载链接】XUnity.AutoTranslator 项目地址: https://gitcode.com/gh_mirrors/xu/XUnity.AutoTranslator 想要畅玩日文或韩文Unity游戏却苦于语言障碍?XUnity Auto Translator就是你的终极解决方案&…

作者头像 李华
网站建设 2026/6/6 17:27:06

用LobeChat连接HuggingFace模型:零代码实现AI对话

用LobeChat连接HuggingFace模型:零代码实现AI对话 在今天,越来越多的开发者、教育者甚至企业运营人员都希望快速拥有一个能与用户自然对话的AI助手——不是为了炫技,而是为了解决真实问题:比如自动答疑、内容生成、客户服务。但现…

作者头像 李华