anaconda create environment from yaml file code example Example 1: conda env conda create --name myenv Example 2: conda activate env conda activate myenv