conda update environment from file code example
Example 1: conda remove environment
conda remove --name myenv --all
Example 2: conda update environment from yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
conda remove --name myenv --all
$ conda activate earth-analytics-python
$ conda env update -f environment.yml