code: def get_cmake_version(self):
      try:
          out = subprocess.check_output(["cmake", "--version"])
      except:
          sys.stderr.write(
              "\nERROR: CMake must be installed to build dlib\n\n"
          )
          sys.exit(1)
      return re.search(r"version\s*([\d.]+)", out.decode()).group(1)
  
imports: import os
  import re
  import sys
  import shutil
  import platform
  import subprocess
  import multiprocessing
  from distutils import log
  from math import ceil, floor
  from setuptools import find_packages, setup, Extension
  from setuptools.command.build_ext import build_ext
  from distutils.version import LooseVersion
  from setuptools.command.test import test
label_desc: Use image node_id 1 for calling the CMakeBuild obj's underlying member method code with example usage: obj.get_cmake_version() and returns: re