Anaconda TOS Auto Accept

Anaconda TOS Auto Accept

Tags
Dev
Published
August 18, 2025

Issue

New Conda TOS breaking automated scripts
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 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

Solution

Set ENV like:
CONDA_PLUGINS_AUTO_ACCEPT_TOS=1 CONDA_PLUGINS_AUTO_ACCEPT_TOS=yes

Reference

Anaconda new ToS causing CI failures
ย