解决:ModuleNotFoundError: No module named ‘keras.layers.wrappers’ 应该是项目中的tensorflow和keras的版本太老造成。 from keras.layers.wrappers import TimeDistributed 修改为: from tensorflow.keras.layers import TimeDistributed