[Conda]CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
on ~/Desktop/iknow-code-bad/backend master
# conda create -n py312 python=3.12 -y
CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
• https://repo.anaconda.com/pkgs/main
• https://repo.anaconda.com/pkgs/r
• https://repo.anaconda.com/pkgs/msys2
To accept a channel's Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
‣ conda tos accept --override-channels --channel CHANNEL
To remove channels with rejected Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
‣ conda config --remove channels CHANNEL
on ~/Desktop/iknow-code-bad/backend master
# conda tos accept
这个报错 CondaToSNonInteractiveError 意思很明确:Anaconda 官方更新了服务条款(Terms of Service),而你本地的 Conda 还没有“签署”同意。
不用担心,这和之前的 Python 版本问题无关,只是一个简单的授权确认。你不需要卸载重装,也不需要改配置,只需要运行几条命令“同意”一下条款即可。
conda tos accept

浙公网安备 33010602011771号