code: def _get_nvcc_path():
      # Honor the "NVCC" env var
      nvcc_path = os.environ.get("NVCC", None)
      if nvcc_path is not None:
          return nvcc_path
  
      # Lookup <CUDA>/bin
      cuda_path = get_cuda_path()
      if cuda_path is None:
          return None
  
      return shutil.which("nvcc", path=os.path.join(cuda_path, "bin"))
  
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 8 for calling a global function with example usage: _get_nvcc_path() and returns: shutil, nvcc_path, None