conda write environment.yml code example
Example 1: conda write environment.yml
conda env export > environment_droplet.yml
Example 2: conda activate env
conda activate myenv
conda env export > environment_droplet.yml
conda activate myenv