code: def _fetch_build_eggs(dist):
      try:
          dist.fetch_build_eggs(dist.setup_requires)
      except Exception as ex:
          msg = """
          It is possible a package already installed in your system
          contains an version that is invalid according to PEP 440.
          You can try `pip install --use-pep517` as a workaround for this problem,
          or rely on a new virtual environment.
  
          If the problem refers to a package that is not installed yet,
          please contact that package's maintainers or distributors.
          """
          if "InvalidVersion" in ex.__class__.__name__:
              if hasattr(ex, "add_note"):
                  ex.add_note(msg)  # PEP 678
              else:
                  dist.announce(f"\n{msg}\n")
          raise
  
imports: import functools
  import os
  import re
  import _distutils_hack.override
  import distutils.core
  from distutils.errors import DistutilsOptionError
  from distutils.util import convert_path
  from .None import logging, monkey
  from .None import version
  from .depends import Require
  from .discovery import PackageFinder, PEP420PackageFinder
  from .dist import Distribution
  from .extension import Extension
  from .warnings import SetuptoolsDeprecationWarning
label_desc: Use image node_id 2 for calling a global function with example usage: _fetch_build_eggs(dist) without return types