code: def try_import_vowpalwabbit():
      try:
          import vowpalwabbit
          from pkg_resources import (
              parse_version,
          )  # pylint: disable=import-outside-toplevel
  
          vowpalwabbit_version = parse_version(vowpalwabbit.__version__)
          assert vowpalwabbit_version >= parse_version(
              "9.0.0"
          ) and vowpalwabbit_version < parse_version(
              "9.9.0"
          ), f"Currently, we only support vowpalwabbit version >=9.0 and <9.9. Found vowpalwabbit version: {vowpalwabbit_version}"
      except ImportError:
          raise ImportError(
              "`import vowpalwabbit` failed.\n"
              "A quick tip is to install via `pip install vowpalwabbit>=9,<9.9"
          )
  
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 13 for calling a global function with example usage: try_import_vowpalwabbit() without return types