monai.utils depends on deprecated/removed distutils package
bcdarwin opened this issue · comments
Describe the bug
Technically more of a feature request, monai.utils.misc
uses distutils.utils.strtobool
which prevents this module from being imported in Python 3.12.
See here.
To Reproduce
With Python 3.12.x and MONAI 1.13.1:
import monai.utils