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

猜你喜欢

转载自blog.csdn.net/yjh_SE007/article/details/132346175