Skip to content

Error in Installing miniconda and set up user defined vars #36

@rajit1993

Description

@rajit1993

Hi, I have the script below for conda-containerize. However, it's not working and I think it needs user-defined variables. How can I deal with this problem? Please help.

######code#####

guptaraj@uan02:> module load LUMI/24.03
guptaraj@uan02:
> module load lumi-container-wrapper
guptaraj@uan02:~> cd /projappl/project_46200/AQUA/cli/lumi-install/
guptaraj@uan02:/projappl/project_46200/AQUA/cli/lumi-install> conda-containerize new --mamba --prefix /projappl/project_46200/AQUA/cli/lumi-install/ environment_lumi.yml
[ INFO ] Constructing configuration
[ INFO ] Using /tmp/guptaraj/cw-PWNYGQ as temporary directory
[ INFO ] Fetching container docker://opensuse/leap:15.5
[ INFO ] Running installation script
[ INFO ] Using miniconda version Miniconda3-latest-Linux-x86_64
[ INFO ] Installing miniconda

PREFIX=/LUMI_TYKKY_yfCAtbY/miniconda
Unpacking payload ...
PREFIX=/LUMI_TYKKY_yfCAtbY/miniconda
Unpacking payload ...
PREFIX=/LUMI_TYKKY_yfCAtbY/miniconda
Unpacking payload ...
PREFIX=/LUMI_TYKKY_yfCAtbY/miniconda
Unpacking payload ...

Installing base environment...

Preparing transaction: ...working... done
Executing transaction: ...working... done
installation finished.

[ INFO ] Creating env, full log in /tmp/guptaraj/cw-PWNYGQ/build.log
[ INFO ] Using mamba to install packages

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

[ ERROR ] Installation failed
[ ERROR ] Set CW_DEBUG_KEEP_FILES env variable to keep build files
Terminated

guptaraj@uan02:> ls -a
. .bash_history .cache .condarc .lesshst .motd-day-counter .python_history .ssh ondemand
.. .bashrc .conda .config .local .profile .singularity 2 rajit
guptaraj@uan02:
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions