ModuleNotFoundError: No module named 'rasa_nlu.converters'
See original GitHub issueRasa 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:
- Created 5 years ago
- Comments:21 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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/
Facing same issue