code: def _install_requirements_file(file_stem, fix_requirements):
      _logger.info("Processing %s", file_stem)
  
      if fix_requirements:
          source_file = "{0}.{1}".format(
              file_stem, _REQUIREMENTS_EXTENSION
          )
          requirements_file = "{0}{1}.{2}".format(
              file_stem, _INSERTION_FIXED, _REQUIREMENTS_EXTENSION
          )
          _pin_requirements(source_file, requirements_file)
      else:
          requirements_file = "{0}.{1}".format(
              file_stem, _REQUIREMENTS_EXTENSION
          )
  
      with _LogWrapper("Running pip on {0}".format(requirements_file)):
          command_args = ["pip", "install", "-r", requirements_file]
          subprocess.check_call(command_args)
  
      if fix_requirements:
          _logger.info("Removing temporary file %s", requirements_file)
          os.remove(requirements_file)
  
file_path: fairlearn/scripts/install_requirements.py
imports: import argparse
  import logging
  import os
  import subprocess
  import sys
  from _utils import _LogWrapper
label_desc: Use image node_id 4 for calling a global function with example usage: _install_requirements_file(file_stem, fix_requirements) without return types