create ymal file from conda list code example
Example 1: conda create env from yml
conda env create -f environment.yml
Example 2: conda update environment from yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
conda env create -f environment.yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml