code: def check_spyder_kernels():
      
      try:
          import spyder_kernels
          required_ver = '1.0.0'
          actual_ver = spyder_kernels.__version__
          if LooseVersion(actual_ver) < LooseVersion(required_ver):
              show_warning("Please check Spyder installation requirements:\n"
                           "spyder-kernels >= 1.0 is required (found %s)."
                           % actual_ver)
      except ImportError:
          show_warning("Failed to import spyder-kernels.\n"
                       "Please check Spyder installation requirements:\n\n"
                       "spyder-kernels >= 1.0 is required")
docs: Check spyder-kernel requirement.