tensorboard报错:AttributeError: module ‘distutils‘ has no attribute ‘version‘

1、报错问题

环境:pytorch 1.10
tensorboard报错:AttributeError: module ‘distutils‘ has no attribute ‘version‘

2、解决

pip uninstall setuptools
pip install setuptools==59.5.0

你可能感兴趣的:(报错解决,tensorboard,报错)