code: def run_pip(command, desc=None, live=default_command_live):
      if args.skip_install:
          return
  
      index_url_line = (
          f" --index-url {index_url}" if index_url != "" else ""
      )
      return run(
          f'"{python}" -m pip {command} --prefer-binary{index_url_line}',
          desc=f"Installing {desc}",
          errdesc=f"Couldn't install {desc}",
          live=live,
      )
  
imports: import logging
  import re
  import subprocess
  import os
  import shutil
  import sys
  import importlib.util
  import importlib.metadata
  import platform
  import json
  from functools import lru_cache
  from modules import cmd_args, errors
  from modules.paths_internal import script_path, extensions_dir
  from modules.timer import startup_timer
  from modules import logging_config
label_desc: Use image node_id 7 for calling a global function with example usage: run_pip(command, desc, live) and returns: run