ModuleNotFoundError: No module named 'keras.engine'

I am trying to use nengo_dl to convert a basic tensorflow MNIST CNN into a spiking CNN using nengo_dl. I have the following set of imports "import tensorflow as tf
import seaborn as sns
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import nengo_dl

Print TensorFlow version to confirm it’s correct

print(tf.version)

Import Keras from TensorFlow 1.x, not as a standalone package

from tensorflow import keras

TensorFlow 1.x does not use eager execution by default, which is a major difference from TF 2.x

Enable eager execution if needed (similar to TF 2.x behavior)

tf.compat.v1.enable_eager_execution()" but keep getting the following traceback "/opt/conda/lib/python3.10/site-packages/nengo_dl/version.py:58: UserWarning: This version of NengoDL has not been tested with your Nengo version (4.0.0). The latest fully supported version is 3.2.0.
warnings.warn(warnstr)
2024-05-09 17:45:43.166461: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-05-09 17:45:43.166530: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-05-09 17:45:43.168021: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered

ModuleNotFoundError Traceback (most recent call last)
Cell In[3], line 7
5 import matplotlib.pyplot as plt
6 import matplotlib.image as mpimg
----> 7 import nengo_dl
9 # Print TensorFlow version to confirm it’s correct
10 print(tf.version)

File /opt/conda/lib/python3.10/site-packages/nengo_dl/init.py:16
13 del os
15 # need to explicitly import these to trigger the builder registration
—> 16 from nengo_dl import (
17 op_builders,
18 neuron_builders,
19 process_builders,
20 learning_rule_builders,
21 transform_builders,
22 )
24 # import into top-level namespace
25 from nengo_dl import callbacks, compat, converter, dists, losses

File /opt/conda/lib/python3.10/site-packages/nengo_dl/op_builders.py:23
21 from nengo_dl import utils
22 from nengo_dl.builder import Builder, OpBuilder
—> 23 from nengo_dl.compat import SimProbe
25 logger = logging.getLogger(name)
28 class ResetInc(Reset):

File /opt/conda/lib/python3.10/site-packages/nengo_dl/compat.py:81
76 from tensorflow.python.keras.layers import (
77 BatchNormalizationV1,
78 BatchNormalizationV2,
79 )
80 else:
—> 81 from keras.engine.functional import Functional, _build_map
82 from keras.layers import BatchNormalizationV1, BatchNormalizationV2
84 if version.parse(tf.version) < version.parse(“2.5.0rc0”):

ModuleNotFoundError: No module named ‘keras.engine’"

Did you solve this?