code: def install_pip(pip: str):
      if pip in installed_pips:
          return
      subprocess.run(["pip", "install", "-q", pip], check=True)
      installed_pips.append(pip)
  
file_path: ray/release/ray_release/command_runner/_anyscale_job_wrapper.py
imports: import argparse
  import time
  import os
  from pathlib import Path
  import subprocess
  import multiprocessing
  import json
  import sys
  import logging
  from urllib.parse import urlparse
  from typing import Optional, List, Tuple
label_desc: Use image node_id 2 for calling a global function with example usage: install_pip(pip) without return types