AttributeError:module ‘tensorflow‘ has no attribute ‘gfile‘
问题:AttributeError:module ‘tensorflow’ has no attribute ‘gfile’解决方案 : 卸掉tensorflow如果你这个项目不是直接用到tensorflow的 tensorboard,而是用了pytorch包里的tensorboard,例如以下的图片所示:那就卸掉tensorflow就好了,报这些错应该就是各个包之间的版本函数名冲突了,卸掉tensorflow就好注: 如果你的项目还要用到tensorflow,请另找解决办法...