anaconda switch environments code example Example 1: conda env conda env list Example 2: conda create environment from file conda env create -f environment.yml