解决Tensorboard报错:AttributeError: '_NamespacePath' object has no attribute 'sort'

问题描述:

输入tensorboard --logdir=/path/to/log-directory,报错AttributeError: '_NamespacePath' object has no attribute 'sort'

错误信息:

错误信息.png

解决方法:

如果安装了anaconda,升级setuptools
conda update setuptools


成功.png

你可能感兴趣的:(解决Tensorboard报错:AttributeError: '_NamespacePath' object has no attribute 'sort')