Skip to content

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

Closed

Description

@wyli

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

Activity

  1. added a commit that references this issue on Jun 20, 2022
    6c7f614
  2. added 2 commits that reference this issue on Jun 21, 2022
    1f07913
    b9452b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions