This might depend on the Keras version you are using. Look into if the keras.engine.topology has depricated.
You can force install an earlier version by:
pip install 'keras==2.1.6' --force-reinstall
Where 2.1.6 is a suitable example. You may  try
import tensorflow.python.keras.engine
But you will not be able to import topology from tensorflow.python.keras.engine .
Please refer to the answers in similar issue1 15, issue2 13.
Thanks!