Hello everyone at Rasa! I have been struggling with getting the setup to work on my machine. I am using Python 3.6.4 and I have installed the newest version of the rasa_nlu(0.13.8). I have set everything up as according to the guide. But when I make my nlu_model.py and try to run it through my terminal issues starts to arise. I’m using Visual Studio Code with a Python debugger extension and gets the following error: [pylint] Unable to import ‘rasa_nlu.training_data’ [E0401]
I think I have read and seen all guides there is about this so this my last resort. I really hope that there is someone out there who can help me with this. Oh and I have also my rasa-nlu-trainer working in the browser. Here is a snippet of my nlu_model.py code:
from rasa_nlu.training_data import load_data
from rasa_nlu.model import Trainer, Metadata, Interpreter
from rasa_nlu import config
def train (data, config_file, model_dir):
training_data = load_data(data)
configuration = config.load(config_file)
trainer = Trainer(configuration)
trainer.train(training_data)
Best Regards Frederik