code: def _get_installed_packages():
      try:
          return set(
              d.metadata["Name"]
              for d in importlib_metadata.distributions()
          )
      except:
          logger.debug("Failed to get installed packages")
          return set()
  
imports: import logging
  import os
  import pytz
  import eta
  import eta.core.config
  import fiftyone.constants
  import fiftyone.core.utils
label_desc: Use image node_id 10 for calling a global function with example usage: _get_installed_packages() and returns: set, set