code: def _pip_info(pkg):
      try:
          return namespace.pip_info(pkg)
      except namespace.NamespaceError as e:
          terms = " ".join(pkg.split("/")[1:])
          cli.error(
              f"unsupported namespace {e.value} in '{pkg}'\n"
              f"Try 'guild search {terms} -a' to find matching packages."
          )
  
file_path: guildai/guild/commands/packages_impl.py
imports: import logging
  import os
  import re
  from guild import cli
  from guild import namespace
  from guild import pip_util
  from guild import util
label_desc: Use image node_id 9 for calling a global function with example usage: _pip_info(pkg) and returns: namespace