conda yaml code example
Example 1: conda create env from yml
conda env create -f environment.yml
Example 2: conda save environment to yaml
# save conda env to .yml
conda env export > environment.yml
Example 3: conda configuration yaml
conda create -n myenv python
conda install -n myenv scipy
Example 4: conda install from yaml
conda env update -n my_env --file ENV.yaml
Example 5: anaconda clone environment
conda create --name myclone --clone myenv