code: def _get_bigdl_verion_conf():
      bigdl_build_file = "zoo-version-info.properties"
      bigdl_python_wrapper = "python-api.zip"
  
      for p in sys.path:
          if bigdl_build_file in p and os.path.isfile(p):
              with open(p) if sys.version_info < (3,) else open(
                  p, encoding="latin-1"
              ) as conf_file:
                  return load_conf(conf_file.read(), "=")
          if bigdl_python_wrapper in p and os.path.isfile(p):
              import zipfile
  
              with zipfile.ZipFile(p, "r") as zip_conf:
                  if bigdl_build_file in zip_conf.namelist():
                      content = zip_conf.read(bigdl_build_file)
                      if sys.version_info >= (3,):
                          content = str(content, "latin-1")
                      return load_conf(content, "=")
      invalidInputError(
          False,
          "Error while locating file zoo-version-info.properties, "
          "please make sure the mvn generate-resources phase is"
          " executed and a zoo-version-info.properties file is"
          " located in zoo/target/extra-resources",
      )
  
imports: from bigdl.dllib.utils.common import *
  from bigdl.dllib.utils.file_utils import callZooFunc
  from bigdl.dllib.utils.utils import set_python_home
  from bigdl.dllib.utils.log4Error import *
  import warnings
  import multiprocessing
  import os
  import threading
  import sys
label_desc: Use image node_id 18 for calling a global function with example usage: _get_bigdl_verion_conf() and returns: load_conf, load_conf