code: def _get_cutensor_from_wheel(version: str, cuda: str) -> List[str]:
      """
      Returns the list of shared library path candidates for cuTENSOR
      installed via Pip (cutensor-cuXX package).
      """
      cuda_major_ver, _ = cuda.split(".")
      cutensor_pkg = f"cutensor-cu{cuda_major_ver}"
      try:
          cutensor_dist = importlib.metadata.distribution(cutensor_pkg)
      except importlib.metadata.PackageNotFoundError:
          _log(f"cuTENSOR wheel package not installed: {cutensor_pkg}")
          return []
  
      actual = _parse_version(cutensor_dist.version)
      expected = _parse_version(version)
      is_compatible = (
          actual[0] == expected[0]
          and actual[1] >= expected[1]
          and actual[2] >= expected[2]
      )
      if not is_compatible:
          _log(
              "cuTENSOR wheel incompatible: "
              f"expected {version}, found {cutensor_dist.version}"
          )
          return []
  
      if sys.platform == "linux":
          shared_lib = cutensor_dist.locate_file(
              f'cutensor/lib/libcutensor.so.{version.split(".")[0]}'
          )
      else:
          shared_lib = cutensor_dist.locate_file(
              "cutensor\\bin\\cutensor.dll"
          )
      return [str(shared_lib)]
  
imports: import ctypes
  import importlib.metadata
  import json
  import os
  import os.path
  import re
  import shutil
  import sys
  from typing import Any, Dict, List, Optional, Tuple
  import warnings
label_desc: Use image node_id 20 for calling a global function with example usage: _get_cutensor_from_wheel(version, cuda) and returns: list, list, list