create conda code example Example 1: conda create environment from file conda env create -f environment.yml Example 2: conda activate env conda activate myenv