"no attribute 'SafeConfigParser'" during installation.

File “C:\Users\User\AppData\Local\Temp\pip-install-98lxnlgs\pyradiomics_9d99062da3f5438592bc77f142141765\versioneer.py”, line 342, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘configparser’ has no attribute ‘SafeConfigParser’. Did you mean: ‘RawConfigParser’?
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.