conda install from environment.yml file code example
Example 1: conda update environment from yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
Example 2: new env in conda
conda create --name myenv
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
conda create --name myenv