Tensorflow .X compatibility

Hi
I am trying to run the tutorial models on GNN.
However, I am running to compatibility issue with Tensor flow models .X.
I tried to use a previous version of tensorflow.
However, that doesn’t have a checkpoint.

Could you please advise?
Thanks!

Kind regards
Ankur

ImportError: keras.optimizers.legacy is not supported in Keras 3. When using tf.keras, to continue using a tf.keras.optimizers.legacy optimizer, you can install the tf_keras package (Keras 2) and set the environment variable TF_USE_LEGACY_KERAS=True to configure TensorFlow to use tf_keras when accessing tf.keras.