The package pkg_resources has been yanked from PyPI so is no longer available, and is a direct dependency in MetricsReloaded. Support for Python 3.13 and beyond has been dropped so this needs replacing. Installing with setuptools<=79.0.1 can get MetricsReloaded to install but this is not ideal, and requires no building isolation in some environments. This is an issue when installing MONAI which has MetricsReloaded as a dependency, see Project-MONAI/MONAI#8536.
The solution is to revise the setup.py file and other places to not use pkg_resources and update pyproject.toml to use current versions of libraries. Distributing MetricsReloaded on PyPI in a MONAI-compatible library would be a next good step, currently MONAI installs a specific branch from git which is not ideal.
The package
pkg_resourceshas been yanked from PyPI so is no longer available, and is a direct dependency in MetricsReloaded. Support for Python 3.13 and beyond has been dropped so this needs replacing. Installing withsetuptools<=79.0.1can get MetricsReloaded to install but this is not ideal, and requires no building isolation in some environments. This is an issue when installing MONAI which has MetricsReloaded as a dependency, see Project-MONAI/MONAI#8536.The solution is to revise the
setup.pyfile and other places to not usepkg_resourcesand updatepyproject.tomlto use current versions of libraries. Distributing MetricsReloaded on PyPI in a MONAI-compatible library would be a next good step, currently MONAI installs a specific branch from git which is not ideal.