Install rasa and rasa x

I have been unable to successfully get rasa x to work. Instead of trying to trouble shoot what is going wrong with my specific environment and versions, could someone give me instructions on a guaranteed-to-work solution starting from a new virtual environment, installing rasa, and then installing rasa x. I don’t care what versions of python, rasa, or rasa x. Thanks in advance

@MikesUsingRasa please see this thread: Getting error while running rasa x locally - #4 by nik202

I tried following your advice in the link you provided. However, I am still getting the following error:

Starting Rasa X in local mode… :rocket: 2022-01-26 15:24:43 WARNING rasax.community.services.insights.insight_service - No local evaluation result files found. 2022-01-26 15:25:14 ERROR rasax.community.services.model_service - Encountered error while reading metadata for model at path ‘models/nlu-20211124-120357.tar.gz’: CRC check failed 0x145cd4bd != 0x840b6fe3. Version of model nlu-20211124-120357.tar.gz version is not compatible. The model was trained with Rasa version 0.0.0 but the current Rasa requires a minimum version of 2.8.0. Please retrain your model with a more recent Rasa version. [2022-01-26 15:25:44 -0700] [13433] [INFO] Goin’ Fast @ http://0.0.0.0:5002 2022-01-26 15:25:44 INFO sanic.root - Goin’ Fast @ http://0.0.0.0:5002

The server is running at http://localhost:5002/login?username=me&password=hnXN03J1pInr

[2022-01-26 15:25:44 -0700] [13433] [INFO] Starting worker [13433] 2022-01-26 15:25:44 INFO sanic.root - Starting worker [13433] 2022-01-26 15:26:00 WARNING rasa.shared.utils.common - The UnexpecTED Intent Policy is currently experimental and might change or be removed in the future :microscope: Please share your feedback on it in the forum (http://forum.rasa.com) to help us make this feature ready for production.

I have installed rasa version 2.8.1, rasa sdk version 2.8.1, rasa x version 0.39.3, python version 3.8.12

@MikesUsingRasa please delete all the previous trained models and re-train the model and then run rasa x, if the issue persists do share the screenshot.

@MikesUsingRasa install this:

pip install sanic-jwt==1.6.0

I am able to get rasa x to work now. Thank you so much for your help!

One note I will make, is that after running the rasa x command, a new window pops up (Firefox is my default) and is unable to connect. All I have to do is press retry and rasa x works.

One final question: I often find myself too ignorant to trouble shoot these problems myself and have to ask other people to solve my problems for me. What subjects/classes would you recommend I study to become more proficient solving these problems?

Thanks, Mike

@MikesUsingRasa I would recommend using Chrome as default.

@MikesUsingRasa I would like you to close this thread :slight_smile: as a solution, please.

@MikesUsingRasa it all about experience and over a few months you will be able to solve it many more issues by yourself, I would recommend to please follow rasa channel and see all videos :slight_smile: