create conda environment 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
conda env create -f environment.yml
# save conda env to .yml
conda env export > environment.yml