define environment.yml file code example Example: Creating an environment from an environment.yml file conda env create -f environment.yml