activate anaconda code example Example 1: new env in conda conda create --name myenv Example 2: activate environment conda conda activate myenv