code: def check_version():
      """Sanity check version information for corrupt virtualenv symlinks"""
      if sys.version_info[0:3] == PYTHON_VERSION_INFO[0:3]:
          return
  
      sys.exit(
          ansi.error()
          + " your virtual env points to the wrong python version. "
          "This is likely because you used a python installer that clobbered "
          "the system installation, which breaks virtualenv creation. "
          "To fix, check this symlink, and delete the installation of python "
          "that it is brokenly pointing to, then delete the virtual env itself "
          "and rerun lore install: "
          + os.linesep
          + os.linesep
          + BIN_PYTHON
          + os.linesep
      )
  
imports: from __future__ import absolute_import, print_function, unicode_literals
  import glob
  import locale
  import os
  import re
  import socket
  import subprocess
  import sys
  import platform
  from io import open
  import pkg_resources
  from lore import ansi
label_desc: Use image node_id 7 for calling a global function with example usage: check_version() without return types