conda create yaml from current environment code example
Example 1: conda write environment.yml
conda env export > environment_droplet.yml
Example 2: conda create environment from file
conda env create -f environment.yml
conda env export > environment_droplet.yml
conda env create -f environment.yml