def METHOD_NAME(workspace):
  requirements_path = os.path.join(workspace, "requirements.txt")
  if not os.path.exists(requirements_path):
    return 0
  cmd_str = "$(which pip) install -r " + requirements_path
  print("try to install requirements.txt from " + requirements_path)
  return sp.call(cmd_str, shell=True)