奇怪的错误
打开anaconda3/envs/DL/lib/python3.8/site-packages/torch.utils/tensorboard/init.py
添加
from distutils.version import LooseVersion
注释/删除
from setuptools import distutils
LooseVersion = distutils.version.LooseVersion
del distutils
修改完如图所示