Not able to train online

while training with online train.py file, i am getting an error like from rasa_core.channels.console import ConsoleInputChannel ImportError: cannot import name 'ConsoleInputChannel' Can you help me out with this?

For my understanding, could you share some of the code in your train.py file? Also, what version of Rasa are you using here?