Python 3.10 officially deprecated the standard distutils package after standardization of PEP 632 -- Deprecate distutils module. Python 3.12 is slated to entirely remove that package – and justifiably ...
From https://peps.python.org/pep-0632/: In Python 3.10 and 3.11, distutils will be formally marked as deprecated. All known issues will be closed at this time. import ...