code: def check_pip():
      print("------------Pip Info-----------")
      try:
          import pip
  
          print("Version      :", pip.__version__)
          print("Directory    :", os.path.dirname(pip.__file__))
      except ImportError:
          print("No corresponding pip install for current python.")
  
file_path: gluon-nlp/tools/diagnose.py
imports: import platform, subprocess, sys, os
  import socket, time
  import argparse
label_desc: Use image node_id 4 for calling a global function with example usage: check_pip() without return types