original_docstring: Checks the state of the 'third_party/python_libs' folder and compares it
      to the required libraries specified in 'requirements.txt'.
      If any inconsistencies are found, the script displays the inconsistencies
      and exits.
      
docstring: Checks the state of the 'third_party/python_libs' folder and compares it
  to the required libraries specified in 'requirements.txt'.
  If any inconsistencies are found, the script displays the inconsistencies
  and exits.
docstring_tokens: Checks the state of the ' third_party / python_libs ' folder and compares it to the required libraries specified in ' requirements . txt ' . If any inconsistencies are found the script displays the inconsistencies and exits .
code: def check_for_backend_python_library_inconsistencies():
      """Checks the state of the 'third_party/python_libs' folder and compares it
      to the required libraries specified in 'requirements.txt'.
      If any inconsistencies are found, the script displays the inconsistencies
      and exits.
      """
      mismatches = install_backend_python_libs.get_mismatches()
  
      if mismatches:
          print(
              'Your currently installed python libraries do not match the\n'
              'libraries listed in your "requirements.txt" file. Here is a\n'
              'full list of library/version discrepancies:\n')
  
          print(
              '{:<35} |{:<25}|{:<25}'.format(
                  'Library', 'Requirements Version',
                  'Currently Installed Version'))
          for library_name, version_strings in mismatches.items():
              print('{!s:<35} |{!s:<25}|{!s:<25}'.format(
                  library_name, version_strings[0], version_strings[1]))
          print('\n')
          common.print_each_string_after_two_new_lines([
              'Please fix these discrepancies by editing the `requirements.in`\n'
              'file or running `scripts.install_third_party` to regenerate\n'
              'the `third_party/python_libs` directory.\n'])
          sys.exit(1)
      else:
          print('Python dependencies consistency check succeeded.')
code_tokens: def check_for_backend_python_library_inconsistencies ( ) : mismatches = install_backend_python_libs . get_mismatches ( ) if mismatches : print ( 'Your currently installed python libraries do not match the\n' 'libraries listed in your "requirements.txt" file. Here is a\n' 'full list of library/version discrepancies:\n' ) print ( '{:<35} |{:<25}|{:<25}' . format ( 'Library' , 'Requirements Version' , 'Currently Installed Version' ) ) for library_name , version_strings in mismatches . items ( ) : print ( '{!s:<35} |{!s:<25}|{!s:<25}' . format ( library_name , version_strings [ 0 ] , version_strings [ 1 ] ) ) print ( '\n' ) common . print_each_string_after_two_new_lines ( [ 'Please fix these discrepancies by editing the `requirements.in`\n' 'file or running `scripts.install_third_party` to regenerate\n' 'the `third_party/python_libs` directory.\n' ] ) sys . exit ( 1 ) else : print ( 'Python dependencies consistency check succeeded.' )
short_docstring: Checks the state of the 'third_party/python_libs' folder and compares it
  to the required libraries specified in 'requirements.txt'.
short_docstring_tokens: Checks the state of the ' third_party / python_libs ' folder and compares it to the required libraries specified in ' requirements . txt ' .
comment: """Checks the state of the 'third_party/python_libs' folder and compares it
      to the required libraries specified in 'requirements.txt'.
      If any inconsistencies are found, the script displays the inconsistencies
      and exits.
      """