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

**URL:** <https://forum.rasa.com/t/getting-attributeerror-module-tensorflow-has-no-attribute-keras-in-anaconda-prompt-window/58821>\
**Category:** Getting Started with Rasa\
**Created:** [June 28, 2023, 3:57pm UTC](https://forum.rasa.com/t/getting-attributeerror-module-tensorflow-has-no-attribute-keras-in-anaconda-prompt-window/58821 "2023-06-28T15:57:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sahmad](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@sahmad](https://forum.rasa.com/u/sahmad)\
**Post date:** [June 28, 2023, 3:57pm UTC](https://forum.rasa.com/t/getting-attributeerror-module-tensorflow-has-no-attribute-keras-in-anaconda-prompt-window/58821/1 "2023-06-28T15:57:08Z")

</div>

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.

 ![rasa error](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/4/d/4d3c0ec351bfb15b7474d59d7567e1b784477da1.jpeg)

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.

---

_[View the full topic](https://forum.rasa.com/t/getting-attributeerror-module-tensorflow-has-no-attribute-keras-in-anaconda-prompt-window/58821)._
