conda create environment from yaml with new name 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
conda env create -f environment.yml
# save conda env to .yml
conda env export > environment.yml