I'm trying to make a NLU model. When I run
from rasa_nlu.config import RasaNLUConfig
I get an error:
ImportError Traceback (most recent call last)
<ipython-input-1-c2bca1b53b6f> in <module>
----> 1 from rasa_nlu.config import RasaNLUConfig
2 from rasa_nlu.model import Trainer
ImportError: cannot import name 'RasaNLUConfig' from 'rasa_nlu.config' (/usr/local/lib/python3.7/dist-packages/rasa_nlu/config.py)
I thought, "Meh,not a big issue, Colaboratory just hasn't got Rasa installed by default, I'll just install it".
So when I installed it with !pip install rasa_nlu
, it did everything, and then it told me to restart the runtime and gave me a button to do that. I did that, then I ran from rasa_nlu.config import RasaNLUConfig
and I still get the same error:
ImportError: cannot import name 'RasaNLUConfig' from 'rasa_nlu.config'
I am not familiar with !apt
so I don't know how I'm supposed to install Rasa with that. Will the problem be solved with that? Or is it something else?