Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monai.utils depends on deprecated/removed distutils package #7790

Closed
bcdarwin opened this issue May 21, 2024 · 3 comments
Closed

monai.utils depends on deprecated/removed distutils package #7790

bcdarwin opened this issue May 21, 2024 · 3 comments

Comments

@bcdarwin
Copy link

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

@rdozier-work
Copy link

+1 to this

@bcdarwin
Copy link
Author

bcdarwin commented Jul 29, 2024

+1 to this

@rdozier-work this was done in #7900, just hasn't landed in a release yet.

@KumoLiu
Copy link
Contributor

KumoLiu commented Jul 30, 2024

You can use monai-weekly as a workaround for now.

pip install monai-weekly

@KumoLiu KumoLiu closed this as completed Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants