From 2ebcdc58848b58b6cafb09812e3bf490720cc7e4 Mon Sep 17 00:00:00 2001 From: romainx Date: Fri, 10 Apr 2020 22:15:19 +0200 Subject: [PATCH] #1060 Fix conda command to create env `conda env create` is only to create environment from a `YAML` file. Fixed the command in "Add a Python 3.x environment". [Reference](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) --- docs/using/recipes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/using/recipes.md b/docs/using/recipes.md index a06ca0a4..a5542259 100644 --- a/docs/using/recipes.md +++ b/docs/using/recipes.md @@ -112,7 +112,7 @@ ARG conda_env=python36 ARG py_ver=3.6 # you can add additional libraries you want conda to install by listing them below the first line and ending with "&& \" -RUN conda env create --quiet --yes -p $CONDA_DIR/envs/$conda_env python=$py_ver ipython ipykernel && \ +RUN conda create --quiet --yes -p $CONDA_DIR/envs/$conda_env python=$py_ver ipython ipykernel && \ conda clean --all -f -y # alternatively, you can comment out the lines above and uncomment those below