No module named 'rasa_nlu'

I’m using Jupyter Notebook.

from rasa_nlu.training_data import load_data
from rasa_nlu.model import Trainer
from rasa_nlu import config

I get this:


ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-3-12a84bcfe9f0> in <module>
----> 1 from rasa_nlu.training_data import load_data
      2 

ModuleNotFoundError: No module named 'rasa_nlu'

I checked similar questions concerning this topic but couldn’t find the answer.

No issues found when running on Python Shell.

The installation of rasa_nlu was successful.

Someone suggested that it might be a Kernel problem, but I couldn’t find how to fix it.

Thank you!