conda environment save to yml code example
Example 1: conda create env from yml
conda env create -f environment.yml
Example 2: conda write environment.yml
conda env export > environment_droplet.yml
conda env create -f environment.yml
conda env export > environment_droplet.yml