1、报错问题 环境:pytorch 1.10 tensorboard报错:AttributeError: module ‘distutils‘ has no attribute ‘version‘ 2、解决 pip uninstall setuptools pip install setuptools==59.5.0