Closed prjemian closed 1 year ago
See this guide: https://conda.github.io/conda-libmamba-solver/getting-started/
Check which channels provide which packages:
The problem seems to occur when the mamba
package is installed.
Locally, with this new script, installation of additional proceeds as expected, without the reported exception.
re-arrangement of the steps:
bash ${INSTALLER} -b -p "${INSTALL_DIR}"
# install libmamba, mamba, & micromamba
source "${INSTALL_DIR}/bin/activate"
conda update -y -n base conda
conda install -y -n base conda-libmamba-solver
# conda install -y -n base -c conda-forge mamba --solver=libmamba
conda install -y -n base -c conda-forge micromamba --solver=libmamba
# set some defaults (can override in local settings)
CONFIG_FILE="${INSTALL_DIR}/condarc"
echo "channels:" > "${CONFIG_FILE}"
echo " - defaults" >> "${CONFIG_FILE}"
echo " - conda-forge" >> "${CONFIG_FILE}"
echo " - apsu" >> "${CONFIG_FILE}"
echo " - aps-anl-tag" >> "${CONFIG_FILE}"
echo "channel_priority: flexible" >> "${CONFIG_FILE}"
echo "solver: libmamba" >> "${CONFIG_FILE}"
After conda/conda-libmamba-solver#193, this error happens:
Very similar to https://github.com/conda/conda/issues/12868