[AMBER] conda TOS error during cmake

From: Charles-Alexandre Mattelaer via AMBER <amber.ambermd.org>
Date: Mon, 25 Aug 2025 12:14:21 +0200

Hi all

I am encountering an issue while running cmake (version AMBER24). The
miniconda install starts, but runs into a TOS issue:
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


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


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


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

CMake Error at cmake/UseMiniconda.cmake:172 (message):
  Installation of packages failed! Please fix what's wrong, or disable
  Miniconda.
Call Stack (most recent call first):
  cmake/PythonInterpreterConfig.cmake:72 (download_and_use_miniconda)
  CMakeLists.txt:120 (include)


-- Configuring incomplete, errors occurred!

A quick google search resulted in finding that conda had a TOS change on
15th of July. Does anyone know if this is the root cause of the cmake
configuration failing to install miniconda?

Kind regards

Charles-Alexandre
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Aug 25 2025 - 03:30:02 PDT
Custom Search