code: def try_import_lightgbm():
      try:
          import lightgbm
      except ImportError as e:
          raise ImportError(
              "`import lightgbm` failed. "
              f"A quick tip is to install via `pip install autogluon.tabular[lightgbm]=={__version__}`."
          )
      except OSError as e:
          raise ImportError(
              "`import lightgbm` failed. If you are using Mac OSX, "
              "Please try 'brew install libomp'. Detailed info: {}".format(
                  str(e)
              )
          )
  
file_path: autogluon/common/src/autogluon/common/utils/try_import.py
imports: import logging
  import platform
  import sys
  from types import ModuleType
  from ..version import __version__
label_desc: Use image node_id 4 for calling a global function with example usage: try_import_lightgbm() without return types