code: def _package_version(p):
      try:
          print(f"{p:20}:  {version(p)}")
      except ImportError:
          print(f"{p:20}:  -")
  
imports: import platform
  import sys
  from importlib.metadata import version
label_desc: Use image node_id 2 for calling a global function with example usage: _package_version(p) without return types