ERROR in while running RASA nlu

Hi this is murugan , my code will perfectly working on jupyter notebook , while change to normal Python IDLE its shows error , pls give the solution , Error i posted below …

testing_chatbot.py (999 Bytes)

this train script is using the old syntax import rasa_nlu instead of import rasa.nlu, so I suspect your example code is from an old version, while you have a new version of Rasa installed.