conda change python environment code example
Example 1: conda write environment.yml
conda env export > environment_droplet.yml
Example 2: delete conda environment
conda remove --name myenv --all
conda env export > environment_droplet.yml
conda remove --name myenv --all