Getting AttributeError : module 'tensorflow' has no attribute 'keras' in anaconda prompt window

I am new to RASA and this might be a rookie mistake so please bear with me. I have installed RASA after running the command (rasa init) in the anaconda prompt.

I get to the point where I am asked the question - Do you want to train an initial model? On replying yes it throws up an error which is - AttributeError : module ‘tensorflow’ has no attribute ‘keras’. When I check for the version of tensorflow using the command pip show tensorflow it shows version 2.11.1 and while doing the same for keras it shows version 2.11.0. I have attached a pic of the error it shows as well if that helps.

I have been following the tutorial videos online and doing exactly as asked. What am I doing wrong here? Any help would be appreciated. Thanks in advance.