check this code: if [ -f $ENVYML ]; then echo ">> creating conda environment..." && echo…
- User
check this code:
if [ -f ENV_YML ]; then echo ">> creating conda environment..." && echo "" conda env create -f ENV_YML sleep 3
codeeval "$(conda shell.bash hook)" conda activate $PISCO_ENVelse echo "!ERROR: $ENV_YML not found. Please clone the repository again!" exit fi
and I got this error:
CondaValueError: prefix already exists: /home/alejandro/miniconda3/envs/pisco
the error is clear. I want to account for that error inside the .sh code
- Assistant