code: def _get_deps_info():
      """Overview of the installed version of main dependencies
  
      Returns
      -------
      deps_info: dict
          version information on relevant Python libraries
      """
      deps = [
          "geopandas",
          # required deps
          "numpy",
          "pandas",
          "pyproj",
          "shapely",
          # optional deps
          "fiona",
          "geoalchemy2",
          "geopy",
          "matplotlib",
          "mapclassify",
          "pyogrio",
          "psycopg2",
          "pyarrow",
      ]
  
      def get_version(module):
          return module.__version__
  
      deps_info = {}
  
      for modname in deps:
          try:
              if modname in sys.modules:
                  mod = sys.modules[modname]
              else:
                  mod = importlib.import_module(modname)
              ver = get_version(mod)
              deps_info[modname] = ver
          except Exception:
              deps_info[modname] = None
  
      return deps_info
  
imports: import importlib
  import platform
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: _get_deps_info() and returns: deps_info, module