【AttributeError: module ‘tensorflow._api.v1.summary’ has no attribute ‘create_file_writer’ 】tensorflow版本不兼容问题 卸载tensorflow pip uninstall tensorflow 安装tensorflow pip install tensorflow 注:若需指明安装版本 可 pip install tensorflow==X.X.X X.X.X——版本号