activate conda environment form another directory code example
Example 1: conda remove environment
conda remove --name myenv --all
Example 2: conda create environment from file
conda env create -f environment.yml
conda remove --name myenv --all
conda env create -f environment.yml