code: def call_pip_uninstall(module_name):
      python = "python" if sys.platform == "win32" else "python3"
      cmd = [python, "-m", "pip", "uninstall", module_name]
      return call(cmd)
  
file_path: nni/nni/tools/nnictl/command_utils.py
imports: from subprocess import call, check_output
  import sys
  import os
  import time
  import signal
  import psutil
  from .common_utils import print_error, print_warning
label_desc: Use image node_id 9 for calling a global function with example usage: call_pip_uninstall(module_name) and returns: call