code: def print_enviroment_info():
      _torch_available, _torch_version = get_package_info("torch")
      _torchvision_available, _torchvision_version = get_package_info(
          "torchvision"
      )
      _tensorflow_available, _tensorflow_version = get_package_info(
          "tensorflow"
      )
      (
          _tensorflow_hub_available,
          _tensorflow_hub_version,
      ) = get_package_info("tensorflow-hub")
      _yolov5_available, _yolov5_version = get_package_info("yolov5")
      _mmdet_available, _mmdet_version = get_package_info("mmdet")
      _mmcv_available, _mmcv_version = get_package_info("mmcv")
      _detectron2_available, _detectron2_version = get_package_info(
          "detectron2"
      )
      _transformers_available, _transformers_version = get_package_info(
          "transformers"
      )
      _timm_available, _timm_version = get_package_info("timm")
      _fiftyone_available, _fiftyone_version = get_package_info(
          "fiftyone"
      )
  
file_path: sahi/sahi/utils/import_utils.py
imports: import importlib.util
  import logging
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: print_enviroment_info() without return types