chink
chink

Reputation: 1643

`ModuleNotFoundError: No module named 'rasa_nlu'` error

I am starting with building a chatbot using rasa. I have followed the installation guide of rasa documentation

I have installed rasa using

pip install rasa

I can import rasa using import rasa and rasa.__version__ gives me a output 1.10.0 but when I try to import rasa-nlu I get ModuleNotFoundError: No module named 'rasa_nlu' error. I am working on windows and seen few suggestions that Visual Studio Installer is also required for windows set up. Why is Visual Studio Installer required, or am I missing anything?

Upvotes: 0

Views: 5561

Answers (3)

mpriya
mpriya

Reputation: 893

If you want to solve visual c++ error, follow the steps in

https://learn.microsoft.com/en-us/answers/questions/136595/error-microsoft-visual-c-140-or-greater-is-require.html

To remove module not found rasa-nlu error, do pip install rasa-nlu and install all other dependencies which you will encounter during installation of rasa-nlu.

Upvotes: 0

datamansahil
datamansahil

Reputation: 412

Well, you are facing the legit error - I would suggest you move to Linux for easy work with rasa. I have faced the same issue just like you and when worked with Ubuntu to be more specific the work goes way to smooth.

Upvotes: 1

Beginer
Beginer

Reputation: 375

You should install rasa-nlu

pip install rasa-nlu

https://pypi.org/project/rasa-nlu/

Upvotes: 0

Related Questions