class_docstr: Runtime Environment Manager class to manage runtime environment.
class_docstr_tok: ["Runtime","Environment","Manager","class","to","manage","runtime","environment","."]
docstr: Create conda env using conda yml file
code: def _create_conda_env(self, env_name, local_path):
      """Create conda env using conda yml file"""
  
      cmd = f"{self._get_conda_exe()} env create -n {env_name} --file {local_path}"
      logger.info(
          "Creating conda environment %s using: %s.", env_name, cmd
      )
      _run_shell_cmd(cmd)
      logger.info(
          "Conda environment %s created successfully.", env_name
      )
  
imports: from __future__ import absolute_import
  import logging
  import sys
  import shlex
  import os
  import subprocess
  import time
  import dataclasses
  import json
label_desc: Use image node_id 10 for calling the RuntimeEnvironmentManager obj's underlying member method code with example usage: obj._create_conda_env(env_name, local_path) without return types