code: def get_config_path():
      candidate_paths = [
          os.path.realpath(os.path.join(gv.package_path, "config")),
          os.path.realpath(
              os.path.join(gv.package_path, "../../config")
          ),
      ]
      for config_path in candidate_paths:
          if os.path.isdir(config_path):
              return config_path
      raise IOError(
          "Can't find configuration directory. Did you install GraphVite correctly?"
      )
  
imports: from __future__ import print_function, absolute_import
  import os
  import re
  import glob
  import yaml
  import shutil
  import logging
  import argparse
  from easydict import EasyDict
  import numpy
  import graphvite
  import graphvite.application
label_desc: Use image node_id 1 for calling a global function with example usage: get_config_path() and returns: config_path