Rasa weatherbot example not working at cmd line


I am trying to execute rasa weatherbot example but after rasa core model trainig getting this.

Bot loaded. Type a message and press enter (use ‘/stop’ to exit): hi - - [2018-10-26 18:10:53] “POST /webhooks/rest/webhook?stream=true&token= HTTP/1.1” 200 222 0.162292 Exception in thread Thread-7: Traceback (most recent call last): File “/usr/lib/python3.6/threading.py”, line 916, in _bootstrap_inner self.run() File “/usr/lib/python3.6/threading.py”, line 864, in run self._target(*self._args, **self._kwargs) File “/home/embed/PycharmProjects/SlackWeatherBot/rasa_core/channels/console.py”, line 110, in record_messages for response in bot_responses: File “/home/embed/PycharmProjects/SlackWeatherBot/rasa_core/channels/console.py”, line 67, in send_message_receive_stream stream=True) as r: AttributeError: enter

I have even created a new enev and install all the dependencies again but still this error.