check if conda environment is active code example
Example 1: conda env
conda create -n myenv python=3.6
Example 2: conda create environment from file
conda env create -f environment.yml
Example 3: conda activate env
conda activate myenv
Example 4: anaconda clone environment
conda create --name myclone --clone myenv