code: def provision_virtualenv(venv_path=DEFAULT_PYENV):
      pip = os.path.join(venv_path, "bin", "pip")
      if os.path.exists(pip):
          # Install MXNet python bindigs
          check_call(
              [
                  pip,
                  "install",
                  "--upgrade",
                  "--force-reinstall",
                  "-e",
                  "python",
              ]
          )
          # Install test dependencies
          check_call(
              [
                  pip,
                  "install",
                  "--upgrade",
                  "--force-reinstall",
                  "-r",
                  os.path.join(
                      "ci", "docker", "install", "requirements"
                  ),
              ]
          )
      else:
          logging.warn("Can't find pip: '%s' not found", pip)
  
imports: import argparse
  import os
  import sys
  from subprocess import check_call
  import shlex
  from ci.util import retry, remember_cwd
  from typing import List
  from collections import OrderedDict
  import logging
  import yaml
  import shutil
label_desc: Use image node_id 3 for calling a global function with example usage: provision_virtualenv(venv_path) without return types