code: def install_requirements_command(requirements_path):
      """
      Install packages from `requirements.txt` in `requirements_path`.
  
      Parameters
      ----------
      requirements_path: str
          Path to the directory that contains `requirements.txt`.
      """
      return call(
          _get_pip_install() + ["-r", requirements_path], shell=False
      )
  
file_path: nni/nni/tools/nnictl/command_utils.py
imports: from subprocess import call, check_output
  import sys
  import os
  import time
  import signal
  import psutil
  from .common_utils import print_error, print_warning
label_desc: Use image node_id 4 for calling a global function with example usage: install_requirements_command(requirements_path) and returns: call