code: def check_version():
      
      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
      )
docs: Sanity check version information for corrupt virtualenv symlinks