# Rasa Python Weather Chatbot

**URL:** <https://forum.rasa.com/t/rasa-python-weather-chatbot/1990>\
**Category:** Tutorials, Resources & Videos\
**Created:** [August 8, 2018, 8:30pm UTC](https://forum.rasa.com/t/rasa-python-weather-chatbot/1990 "2018-08-08T20:30:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartinGentleman](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/martingentleman/32/151_2.png) [@MartinGentleman](https://forum.rasa.com/u/MartinGentleman)\
**Post date:** [August 8, 2018, 8:30pm UTC](https://forum.rasa.com/t/rasa-python-weather-chatbot/1990/1 "2018-08-08T20:30:14Z")

</div>

I want to share my own Medium post about building a chatbot on Rasa platform. Let me know what you think, I will be greatful for any feedback: [https://medium.com/@martinnovk\_22870/rasa-python-weather-chatbot-51fc218d346d](https://medium.com/@martinnovk_22870/rasa-python-weather-chatbot-51fc218d346d)

---

<div class="post-metadata">

**Author:** ![bniswonger](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@bniswonger](https://forum.rasa.com/u/bniswonger)\
**Post date:** [February 28, 2019, 8:13pm UTC](https://forum.rasa.com/t/rasa-python-weather-chatbot/1990/2 "2019-02-28T20:13:22Z")

</div>

Hello, I am new to Rasa Stack and using your example to get started. I have made it through your weather app tutorial until the part:

> $ python bot.py run

Whenever I run this script the bot acts like its starting up, and then hangs indefinitely after the following message:

> INFO rasa\_nlu.components - Added ‘nlp\_spacy’ to component cache. Key ‘nlp\_spacy-en’.

Training the bot yields the expected models files, so I don’t think I messed up there. I have my files set up exactly like your tutorial except instead of the ‘ConsoleInputChannel()’ in bot.py I am using ‘[CmdlineInput()]’. Any insight on a solution would be greatly appreciated. Thank you.

SOLVED: I solved this issue. The run method in ‘bot.py’ should contain the following:

> interpreter = NaturalLanguageInterpreter.create(“models/nlu/default/current”) agent = Agent.load(“models/dialogue”, interpreter=interpreter) rasa\_core.run.serve\_application(agent,channel=‘cmdline’)
