code: def _get_deps_info():
      """Overview of the installed version of main dependencies.
  
      This function does not import the modules to collect the version numbers
      but instead relies on standard Python package metadata.
  
      Returns
      -------
      deps_info: dict
          version information on relevant Python libraries
      """
      deps = sorted(
          [
              "pip",
              "setuptools",
              "numpy",
              "scipy",
              "Cython",
              "pandas",
              "matplotlib",
              "sklearn",
              "lightgbm",
              "pytorch",
              "tensorflow",
          ]
      )
  
      from fairlearn import __version__
  
      deps_info = {"fairlearn": __version__}
  
      from importlib.metadata import PackageNotFoundError, version
  
      for modname in deps:
          try:
              deps_info[modname] = version(modname)
          except PackageNotFoundError:
              deps_info[modname] = None
      return deps_info
  
imports: import platform
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: _get_deps_info() and returns: deps_info