unable to execute plot_model in keras
Try importing from tensorflow directly:
from tensorflow.keras.utils import plot_model
You are mixing the usage/imports of the keras
and tf.keras
packages, these packages are not compatible with each other, you must make all relevant imports from one package only.