srun activate conda environment code example
Example 1: conda create environment python 3.6
conda create -n myenv python=x.x
Example 2: activating anaconda environment
conda activate myenv
conda create -n myenv python=x.x
conda activate myenv