code: def _apply_python_path_env(env):
      import guild
  
      guild_path = os.path.abspath(guild.__pkgdir__)
      path = env.get("PYTHONPATH")
      if path:
          path = os.pathsep.join([guild_path, path])
      else:
          path = guild_path
      env["PYTHONPATH"] = path
  
imports: import os
  import subprocess
  import sys
label_desc: Use image node_id 7 for calling a global function with example usage: _apply_python_path_env(env) without return types