code: def start(self):
      self.log.warning(
          "`jupyter kernelspec install-self` is DEPRECATED as of 4.0."
          " You probably want `ipython kernel install` to install the IPython kernelspec."
      )
      try:
          from ipykernel import kernelspec
      except ImportError:
          print(
              "ipykernel not available, can't install its spec.",
              file=sys.stderr,
          )
          self.exit(1)
      try:
          kernelspec.install(self.kernel_spec_manager, user=self.user)
      except OSError as e:
          if e.errno == errno.EACCES:
              print(e, file=sys.stderr)
              if not self.user:
                  print(
                      "Perhaps you want to install with `sudo` or `--user`?",
                      file=sys.stderr,
                  )
              self.exit(1)
          self.exit(e)
  
imports: from __future__ import print_function
  import errno
  import os.path
  import sys
  import json
  from traitlets.config.application import Application
  from jupyter_core.application import JupyterApp, base_flags, base_aliases
  from traitlets import Instance, Dict, Unicode, Bool, List
  from .None import __version__
  from .kernelspec import KernelSpecManager
label_desc: Use image node_id 2 for calling the InstallNativeKernelSpec obj's underlying member method code with example usage: obj.start() without return types