news 2026/5/29 6:33:03

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/5/27 17:45:26

ros2话题通讯实践-系统检测可视化工具

流程消息接口定义在topic_practice_ws的src文件夹下创建 包ros2 pkg create status_interfaces --build-type ament_cmake --dependencies rosidl_default_generators builtin_interfaces --license Apache-2.0 //builtin_interfaces 是ros2中已有的一个消息接口功能包 //可…

作者头像 李华
网站建设 2026/5/27 5:30:42

FunClip智能剪辑终极指南:从零基础到高手进阶完整教程

FunClip智能剪辑终极指南:从零基础到高手进阶完整教程 【免费下载链接】FunClip Open-source, accurate and easy-to-use video clipping tool, LLM based AI clipping intergrated || 开源、精准、方便的视频切片工具,集成了大语言模型AI智能剪辑功能 …

作者头像 李华
网站建设 2026/5/27 17:15:02

阻尼单摆Matlab简易仿真

一、阻尼单摆的数学物理推导1.1 动力学方程建立假设与坐标系:单摆摆长为 ,摆锤质量为 。摆角 为偏离竖直向下位置的角位移。存在与速度成正比的线性阻尼力,阻尼系数为 (单位:kg/s)。重力加速度为 。受力分…

作者头像 李华
网站建设 2026/5/28 18:56:09

显卡驱动彻底清理终极指南:高效解决驱动冲突问题

显卡驱动彻底清理终极指南:高效解决驱动冲突问题 【免费下载链接】display-drivers-uninstaller Display Driver Uninstaller (DDU) a driver removal utility / cleaner utility 项目地址: https://gitcode.com/gh_mirrors/di/display-drivers-uninstaller …

作者头像 李华
网站建设 2026/5/26 4:52:47

Xenos DLL注入工具完整指南:从入门到实战应用

Xenos DLL注入工具完整指南:从入门到实战应用 【免费下载链接】Xenos Windows dll injector 项目地址: https://gitcode.com/gh_mirrors/xe/Xenos Xenos是一款专为Windows平台设计的专业级DLL注入工具,基于强大的Blackbone库开发,为软…

作者头像 李华