code: def init_env(path, guild_home=None, local_resource_cache=False):
      try:
          _init_env(path, guild_home, local_resource_cache)
      except OSError as e:
          _handle_init_os_error(e)
  
imports: import errno
  import logging
  import os
  from guild import guildfile
  from guild import util
label_desc: Use image node_id 1 for calling a global function with example usage: init_env(path, guild_home, local_resource_cache) without return types