code: def get_pip_package_version(package_name: str) -> str:
      try:
          return importlib.metadata.version(package_name)
      except importlib.metadata.PackageNotFoundError:
          raise ValueError(f"Package `{package_name}` not found")
  
file_path: wandb/wandb/proto/wandb_internal_codegen.py
imports: import os
  import pathlib
  import grpc_tools
  from grpc_tools import protoc
  import importlib.metadata
  from packaging import version
label_desc: Use image node_id 2 for calling a global function with example usage: get_pip_package_version(package_name) and returns: importlib