change python in conda environment code example
Example 1: anaconda duplicate environment
conda create --name myclone --clone myenv
Example 2: activate environment conda
conda activate myenv
conda create --name myclone --clone myenv
conda activate myenv