Error

AttributeError: module 'distutils' has no attribute 'version'

ssung3847 2022. 11. 28. 10:35
 

AttributeError: module 'setuptools._distutils' has no attribute 'version'

I was trying to train a model using tensorboard. While executing, I got this error: $ python train.py Traceback (most recent call last): File "train.py", line 6, in <module> from t...

stackoverflow.com

pip install setuptools=59.5.0

 

 

p.s. 잘 알려진 PyTorch  버그라고 한다.