code: def run_pkg_config(section, pkg_config_path=None):
      try:
          cmd = "pkg-config sentencepiece --{}".format(section)
          if pkg_config_path:
              cmd = "env PKG_CONFIG_PATH={} {}".format(
                  pkg_config_path, cmd
              )
          output = subprocess.check_output(cmd, shell=True)
          if sys.version_info >= (3, 0, 0):
              output = output.decode("utf-8")
      except subprocess.CalledProcessError:
          sys.stderr.write("Failed to find sentencepiece pkg-config\n")
          sys.exit(1)
      return output.strip().split()
  
file_path: sentencepiece/python/setup.py
imports: import codecs
  import os
  import string
  import subprocess
  import sys
  from setuptools import Extension, setup
  from setuptools.command.build_ext import build_ext
  from setuptools.command.build_py import build_py
label_desc: Use image node_id 2 for calling a global function with example usage: run_pkg_config(section, pkg_config_path) and returns: output