conda install environment in different location code example
Example 1: anaconda duplicate environment
conda create --name myclone --clone myenv
Example 2: conda deactivate
conda deactivate
conda create --name myclone --clone myenv
conda deactivate