distutils has been deprecated, and it seems like we use that within our template tag. This will need to be resolved for Python 3.12 compatibility.
django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'reactpy_django.templatetags.reactpy': No module named 'distutils'
A temporary fix involves manually running pip install setuptools.
Current Situation
distutils
has been deprecated, and it seems like we use that within our template tag. This will need to be resolved for Python 3.12 compatibility.A temporary fix involves manually running
pip install setuptools
.Proposed Actions
Fix Python 3.12 compatibility.