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

module 'distutils' has no attribute 'version' #4530

Closed
wyli opened this issue Jun 18, 2022 · 0 comments · Fixed by #4546
Closed

module 'distutils' has no attribute 'version' #4530

wyli opened this issue Jun 18, 2022 · 0 comments · Fixed by #4546
Assignees

Comments

@wyli
Copy link
Contributor

wyli commented Jun 18, 2022

Describe the bug

[2022-06-18T02:31:52.572Z] tests/test_integration_segmentation_3d.py
[2022-06-18T02:31:53.944Z] Traceback (most recent call last):
[2022-06-18T02:31:53.944Z]   File "tests/test_integration_segmentation_3d.py", line 21, in <module>
[2022-06-18T02:31:53.944Z]     from torch.utils.tensorboard import SummaryWriter
[2022-06-18T02:31:53.944Z]   File "/usr/local/lib/python3.8/dist-packages/torch/utils/tensorboard/__init__.py", line 4, in <module>
[2022-06-18T02:31:53.944Z]     LooseVersion = distutils.version.LooseVersion
[2022-06-18T02:31:53.944Z] AttributeError: module 'distutils' has no attribute 'version'
script returned exit code 1

setuptools 62.5.0, pytorch 1.9/1.10

looks similar to this error pytorch/pytorch#69894

wyli added a commit to wyli/MONAI that referenced this issue Jun 20, 2022
Signed-off-by: Wenqi Li <[email protected]>
@wyli wyli mentioned this issue Jun 20, 2022
7 tasks
wyli added a commit that referenced this issue Jun 21, 2022
wyli added a commit that referenced this issue Jun 21, 2022
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

Successfully merging a pull request may close this issue.

2 participants