chatdocs icon indicating copy to clipboard operation
chatdocs copied to clipboard

Update to Python 3.12 - Remove 'stdlib distutils module' requirement (deprecated)

Open robertgro opened this issue 2 years ago • 0 comments

When trying to issue pip install chatdocs with the latest Python version installed (3.12), it throws a ModuleNotFoundError: No module named 'distutils' message. This is due to the distutils module that has been removed from the standard library.

Please update the repository to the latest Python version if possible and remove the requirement.

A temporary workaround is to install setuptools via pip install setuptools.

References

  • https://github.com/python/cpython/issues/92584
  • https://peps.python.org/pep-0632/ - Deprecate distutils module
  • https://docs.python.org/3/whatsnew/3.12.html - What’s New In Python 3.12
  • https://stackoverflow.com/questions/77233855/why-did-i-got-an-error-modulenotfounderror-no-module-named-distutils
  • https://stackoverflow.com/questions/77247893/modulenotfounderror-no-module-named-distutils-in-python-3-12

robertgro avatar Nov 17 '23 16:11 robertgro