export to enviroment.yml conda code example
Example 1: conda write environment.yml
conda env export > environment_droplet.yml
Example 2: anaconda clone environment
conda create --name myclone --clone myenv
conda env export > environment_droplet.yml
conda create --name myclone --clone myenv