code: def load_library(version):
      
      check_version(version)
      module_name = SUPPORTED_LIBRARIES[version]
      lib = sys.modules.get(module_name)
      if lib is None:
          lib = importlib.import_module(module_name)
      return lib
docs: Load the correct module according to the version
  
      :type version: ``str``
      :param version: the version of the library to be loaded (e.g. '2.6')
      :rtype: module object