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