question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'rasa_nlu.converters'

See original GitHub issue

Rasa NLU version: 0.14.3

Operating system (windows, 10, …):

Content of model configuration file:

{
"pipeline": "spacy_sklearn",  // specified feature exctraction library.
"path" : ".module/nlu", //path of the model
 "data":"/data/data.json" //data which will be used
}

Issue: Traceback (most recent call last): File “nlu_model.py”, line 1, in <module> from rasa_nlu.converters import load_data ModuleNotFoundError: No module named ‘rasa_nlu.converters’

nlu_model.py file

from rasa_nlu.converters import load_data from rasa_nlu.config import RasaNLUconfig from rasa_nlu.model import Trainer

def train_nlu(data, config, model_dir): training_data = load_data(data) trainer = Trainer(RasaNLUconfig(config)) trainer.train(training_data) #load training data set to be train model_directory = trainer.persist(model_dir, fixed_model_name = ‘chatbot’)

if name == ‘main’: train_nlu(“./data/data.json”,“config_spacy.json”,"./model/nlu ")

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
akeladcommented, Feb 21, 2019

Did you recently upgrade from an older NLU version? A lot of things have changed, including the fact that config files are now yaml rather than json. Please take a look at our docs to see how to fix this, in particular the migration guide: https://rasa.com/docs/nlu/migrations/

0reactions
code4passioncommented, Feb 24, 2020

Facing same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rasa installed but rasa_nlu.converters not found
In rasa-nlu version 0.14.6 and newer versions the correct path is rasa_nlu.convert . Depending on what you are trying to do with the...
Read more >
Rasa_nlu.converters - Rasa Open Source
Hi, I am writing a chatbot using rasa nlu. ... I am getting the below error: ModuleNotFoundError: No module named 'rasa_nlu.converters' ...
Read more >
ModuleNotFoundError: No module named 'converter'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'converter' How to remove the ModuleNo.
Read more >
From zero to hero: Creating a chatbot with Rasa NLU and ...
I am going to build a simple Slack integrated weather bot, called ... Full code of this tutorial [Latest release of Rasa NLU...
Read more >
Solutions for some issues when you getting started with RASA ...
To find a python module (here i need to search RASA module) go to python first Create a ... ModuleNotFoundError: No module named...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found