Rasa x not working locally on Mac

Hi, I am trying to run RASA x locally, with below configuration.

Rasa Version : 2.8.6 Minimum Compatible Version: 2.6.0 Rasa SDK Version : 2.8.1 Rasa X Version : 0.42.2 Python Version : 3.7 SQLAlchemy : 1.3.22 Operating System : Mac OS

But it is giving following error

ImportError: cannot import name 'Row' from 'sqlalchemy.engine' (/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sqlalchemy/engine/__init__.py)

Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up.
If you need help fixing the issue visit our forum: http://forum.rasa.com/.

I have also tried deleting events.db and rasa.db files still same error.
Thanks in advance!!!

@deepali0162 Please install pip install SQLAlchemy==1.3.22 and share the new generated error.

Hi @nik202 , I was able to resolve the issue. I created a new environment and installed everything from scratch which resolved the issue.

Thanks for your reply!!

@deepali0162 Great, can you please share the rasa --version for your Mac environment?

Sure, @nik202 . They are:

  • Rasa Version : 2.8.6
  • Rasa SDK Version : 2.8.1
  • Rasa X Version : 0.42.2

@deepali0162 Many thanks and please mention the python version for the same.

Python Version : 3.7

hi @nik202, it was working fine yesterday but again I’m getting same error even after installing: pip install SQLAlchemy==1.3.22

(venv) (base) FVFXQJD7J1WK:TestMed_bot deepali$ pip install SQLAlchemy==1.3.22

Requirement already satisfied: SQLAlchemy==1.3.22 in ./venv/lib/python3.7/site-packages (1.3.22)

Please advise.

@deepali0162 can you share your error and steps you are using?

@nik202 , the error is as below: ImportError: cannot import name ‘Row’ from ‘sqlalchemy.engine’ (/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sqlalchemy/engine/init.py)

Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up. If you need help fixing the issue visit our forum: http://forum.rasa.com/.

Please note that I had installed below softwares in my virtualenv in the beginning of the project.

  • pip install rasa==2.8.2

  • pip install rasa-sdk==2.8.1

  • pip install rasa-x==0.39.3 --extra-index-url Simple Index

  • pip install SQLAlchemy==1.3.22

  • pip install sanic-jwt==1.6.0

@deepali0162 Can you check and share the Anaconda Python version (base) on terminal python --version