class_docstr: Runtime Environment Manager class to manage runtime environment.
class_docstr_tok: ["Runtime","Environment","Manager","class","to","manage","runtime","environment","."]
docstr: Export the conda env to a conda yml file
code: def _export_conda_env_from_prefix(self, prefix, local_path):
      """Export the conda env to a conda yml file"""
  
      cmd = f"{self._get_conda_exe()} env export -p {prefix} --no-builds > {local_path}"
      logger.info("Exporting conda environment: %s", cmd)
      _run_shell_cmd(cmd)
      logger.info("Conda environment %s exported successfully", prefix)
  
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 13 for calling the RuntimeEnvironmentManager obj's underlying member method code with example usage: obj._export_conda_env_from_prefix(prefix, local_path) without return types