code: def create_from_yaml(self, name, yamlfile):
          
          logger.debug(str((name, yamlfile)))
          cmd_list = ['env', 'create', '-n', name, '-f', yamlfile, '--json']
          return self._call_and_parse(cmd_list)
docs: Create new environment using conda-env via a yaml specification file.
  
          Unlike other methods, this calls conda-env, and requires a named
          environment and uses channels as defined in rcfiles.
  
          Parameters
          ----------
          name : string
              Environment name
          yamlfile : string
              Path to yaml file with package spec (as created by conda env export