rasa icon indicating copy to clipboard operation
rasa copied to clipboard

Traceback (most recent call last): File "C:\Users\Isaac\horoscope_bot\train_initialize.py", line 7, in <module> from rasa_core import utils ModuleNotFoundError: No module named 'rasa_core'

Open izikmartins opened this issue 3 years ago • 2 comments

Rasa Open Source version

3.1.0

Rasa SDK version

3.1.1

Rasa X version

No response

Python version

3.8

What operating system are you using?

Windows

What happened?

I have been getting this error for weeks and I have tried everything online. I am trying to follow the example from the book "Building Chatbots with Python" by Sumit Raj. The error is below.

Traceback (most recent call last): File "C:\Users\Isaac\horoscope_bot\train_initialize.py", line 7, in from rasa_core import utils ModuleNotFoundError: No module named 'rasa_core'

Command / Request

python3 train_initialize.py

Relevant log output

No response

izikmartins avatar Apr 29 '22 01:04 izikmartins

Thanks for raising this issue, @hsm207 will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗

sara-tagger avatar Apr 29 '22 06:04 sara-tagger

I am trying to follow the example from the book "Building Chatbots with Python" by Sumit Raj. The error is below.

What version of rasa did that book say to follow?

hsm207 avatar Apr 29 '22 06:04 hsm207

It seems that the book might be using a different version of rasa (maybe 1.x), while you tried to run the example with an incompatible rasa version (3.x).

ancalita avatar Sep 28 '22 14:09 ancalita