code: def _install_dependencies(
      dependency_file_dir: str,
      conda_env: str,
      client_python_version: str,
      channel_name: str,
      dependency_settings: _DependencySettings = None,
  ):
      """Install dependencies in the job container
  
      Args:
          dependency_file_dir (str): Directory in the container where dependency file exists.
          conda_env (str): conda environment to be activated.
          client_python_version (str): Python version at the client side.
          channel_name (str): Channel where dependency file was uploaded.
          dependency_settings (dict): Settings for installing dependencies.
      """
  
      if (
          dependency_settings is not None
          and dependency_settings.dependency_file is None
      ):
          # an empty dict is passed when no dependencies are specified
          logger.info("No dependencies to install.")
      elif dependency_settings is not None:
          dependencies_file = os.path.join(
              dependency_file_dir, dependency_settings.dependency_file
          )
          RuntimeEnvironmentManager().bootstrap(
              local_dependencies_file=dependencies_file,
              conda_env=conda_env,
              client_python_version=client_python_version,
          )
      else:
          # no dependency file name is passed when an older version of the SDK is used
          # we look for a file with .txt, .yml or .yaml extension in the workspace directory
          dependencies_file = None
          for file in os.listdir(dependency_file_dir):
              if (
                  file.endswith(".txt")
                  or file.endswith(".yml")
                  or file.endswith(".yaml")
              ):
                  dependencies_file = os.path.join(
                      dependency_file_dir, file
                  )
                  break
  
          if dependencies_file:
              RuntimeEnvironmentManager().bootstrap(
                  local_dependencies_file=dependencies_file,
                  conda_env=conda_env,
                  client_python_version=client_python_version,
              )
          else:
              logger.info(
                  "Did not find any dependency file in the directory at '%s'."
                  " Assuming no additional dependencies to install.",
                  os.path.join(BASE_CHANNEL_PATH, channel_name),
              )
  
file_path: sagemaker-python-sdk/src/sagemaker/remote_function/runtime_environment/bootstrap_runtime_environment.py
imports: from __future__ import absolute_import
  import argparse
  import getpass
  import sys
  import os
  import shutil
  import pathlib
label_desc: Use image node_id 5 for calling a global function with example usage: _install_dependencies(dependency_file_dir, conda_env, client_python_version, channel_name, dependency_settings) without return types