HEY hey I have issue start command = rasa x is NOT WORKING. RASA X LOCAL MODE

ENVIRONMENT: OS: Centos 7 OS PIP: 20.2 RASA: Rasa Version : 2.8.4 Minimum Compatible Version: 2.8.0 Rasa SDK Version : 2.8.2 Rasa X Version : 0.42.0 Python Version : 3.8.6 Operating System : Linux-3.10.0-1160.36.2.el7.x86_64-x86_64-with-glibc2.17 Python Path : /home/vas/rasa_engati/rasa_eng/venv/bin/python3.8

I do it: Step1: virtual environment “python 3.8.6”

Step2: pip version upgrade

Step3: pip install rasa

Step4: create rasa project /rasa init/

Step4.1 rasa shell, it is running

Step5: pip install rasa x /local mode/

Step5.1 rasa x start command not working: MissingDependencyException: Rasa X does not seem to be installed, but it is needed for this CLI command. You can find more information on how to install Rasa X in local mode in the documentation: Local Mode

please help me.

@Jugee Hi, can you please share your rasa --version while typing this command in your virtual environment.

Hi @nik202

(venv) [user@rasa]$ rasa --version Rasa Version : 2.8.4 Minimum Compatible Version: 2.8.0 Rasa SDK Version : 2.8.2 Rasa X Version : 0.42.1 Python Version : 3.6.9 Operating System : Linux-3.10.0-1160.36.2.el7.x86_64-x86_64-with-centos-7.9.2009-Core Python Path : /home/vas/rasa_engati/venv/bin/python3.6

@Jugee Thanks for sharing the version, can you please share the error screenshot?

Result screenshot:

@Jugee can you please first run rasa shell --debug for executing rasa open source and share me the screenshot please.

@Jugee please use @ and my id nik202 for faster response as I got notification. Thanks.

Try as mentioned in the docs:

pip install rasa-x --extra-index-url https://pypi.rasa.com/simple

Run this in your virtual environment of course.

Hi @ChrisRahme still not running

@Jugee please share rasa --version while typing in conda environment.

Can you also share pip --version?

Did you see any error during the pip install?

@Jugee Can I request to start the fresh approach

create a fresh conda environment with python 3.7 or 3.8 and follow these step

`pip install rasa==2.8.1`
`pip install rasa-sdk==2.8.1'

check version rasa --version its install or not

then

pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple

check rasa version rasa --version its install or not

You will see some error : ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ Install

pip install SQLAlchemy==1.3.22 should fix it

If sanic related error: pip install sanic-jwt==1.6.0

delete .db files of events and rasa if showing alembic error.

Good luck! I hope this will solve your issue.

1 Like

Hi, this issue python environment problem. OS: Centos 7

I solved it : install python-developer-package run the command below:

yum install python-devel will work.

If yum doesn’t work then use

apt-get install python-dev

Thanks all :slight_smile:

1 Like

Thanks for coming back with the solution :slight_smile: Please mark your answer as solution