As of 3.12 this package is broken because it uses the old 'imp' library which was removed in 3.12 and replaced with importlib, for now it can be used with 3.11 - but that's on security fixes only and will be EOL in 2026:
https://docs.python.org/3.11/library/imp.html#module-imp