Install rasa-x error - [Deprecated] Rasa X Community Edition - Rasa Community Forum

Install rasa-x error

post by dan246 on Jul 13, 2021

hi I encountered this error while installing rasa x

pip install rasa-x --extra-index-url Simple Index then

How to solve Thank you(,・ω・,)

post by nik202 on Jul 13, 2021

@dan246 can I get to know what is your rasa version and python? @dan246 Or see this solution Problem with mulidict version when installing Rasa X in windows 10 local environment - #9 by alINGeNT

post by dan246 on Jul 14, 2021

python: 3.8

post by nik202 on Jul 14, 2021

@dan246 please see above post of my and link I shared at the end only solution. try.

post by dan246 on Jul 14, 2021

Ran the same error in 9. pip install rasa-x==0.40.0 --extra-index-url Simple Index

post by nik202 on Jul 14, 2021

@dan246

  1. conda create --name NAME python==3.8 conda activate NAME
  2. conda install ujson
  3. conda install tensorflow
  4. check for pip version: pip --version (Should be latest version > 21.1.x) pip install rasa==x.x.x (refer version below)
  5. down grade pip version pip install pip==20.2 --user
  6. pip install rasa-x==x.x.x --extra-index-url https://pypi.rasa.com/simple (refer version below)

Versions: python --version Python 3.8.0

rasa --version Rasa Version : 2.6.2

Minimum Compatible Version: 2.6.0

Rasa SDK Version : 2.6.0

Rasa X Version : 0.40.0

Python Version : 3.8.0

Operating System : Windows-10

post by dan246 on Jul 14, 2021

@nik202
I created

pip version

post by nik202 on Jul 14, 2021

@dan246 update setuptools pip install setuptools

I guess you ignore some dependencies, that why throwing the error.

post by dan246 on Jul 14, 2021

I redo the steps and still have the same problem(´;ω;`)

post by nik202 on Jul 14, 2021

@dan246 Can you share email id so that I can assist you. If you want. Thanks.

post by dan246 on Aug 14, 2021

ok

post by hoangnguyen1222 on Aug 21, 2021

help I have the same error as above

post by hoangnguyen1222 on Aug 21, 2021

my email nguyendachoang19999@gmail.com

post by nik202 on Aug 21, 2021

@hoangnguyen1222 you need to create the new python conda environment and then see the above mentions steps.

post by hoangnguyen1222 on Aug 21, 2021

i am using anaconda3 to install i have reinstalled python and have done the steps but still error

post by nik202 on Aug 22, 2021

@hoangnguyen1222 I said conda environment for your problem, not anaconda installations. I hope you got my point?

post by hoangnguyen1222 on Aug 23, 2021

i installed the apartment environment but still have the above problem

post by nik202 on Aug 23, 2021

@hoangnguyen1222 apartment environment? What do you exactly mean by this?

post by hoangnguyen1222 on Aug 23, 2021

this is exactly what i did

post by nik202 on Aug 24, 2021

@hoangnguyen1222 activate your environment and install rasa==2.8.1 and rasa-sdk==2.8.1 and rasa-x==0.39.3 and then share rasa --version

post by hoangnguyen1222 on Aug 24, 2021

thank you

post by hoangnguyen1222 on Aug 24, 2021

my rasa --version

post by nik202 on Aug 24, 2021

@hoangnguyen1222 you need to re-install Anaconda, and need to install fresh environment. Can you please tell me one question, at the time creating conda environment did you separately install ujson and tensor flow?

post by nik202 on Aug 24, 2021

Try this also

conda install -c anaconda ujson

Or

pip install ujson==1.35

Or

Ref this link:

Good Luck!

post by hoangnguyen1222 on Aug 24, 2021

thank you very much

post by hoangnguyen1222 on Aug 24, 2021

I installed it successfully but

post by hoangnguyen1222 on Aug 25, 2021

when i run the command pip install SQLAlchemy==1.3.22

post by nik202 on Aug 25, 2021

@hoangnguyen1222 what your error now whilst seeing screenshot I am not getting you.

post by hoangnguyen1222 on Aug 25, 2021

yes, now i’m getting the display error it should be

but when i go to my website it is not responding at all

post by nik202 on Aug 25, 2021

@hoangnguyen1222 what steps you are using?

post by hoangnguyen1222 on Aug 25, 2021

here are the steps i do to create rasax

  1. conda create -n rasa python anaconda
  2. conda activate rasa
  3. conda install -c anaconda ujson
  4. conda install tensorflow
  5. pip install rasa==2.8.1
  6. pip install rasa-sdk==2.8.1
  7. pip install rasa-x==0.40.0 --extra-index-url Simple Index
  8. rasa x

post by nik202 on Aug 25, 2021

Please follow these steps and stick on this please.

  1. conda create --name “Your_Environment_Name” python=3.8 or python==3.7.7
  2. conda activate Your_Environment_Name
  3. pip install rasa==2.8.1
  4. pip install rasa-sdk==2.8.1
  5. rasa init to create the default project
  6. pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple
  7. Error: ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ install pip install SQLAlchemy==1.3.22
  8. Error: Sanic install pip install sanic-jwt==1.6.0
  9. Error: Alembic delete rasa and events .db files and it will automatically created when you run rasa-x
  10. run rasa x and you will be able to see rasa x in your default web browser

If you encounter any error do share me that and then proceed further.

Note: Do follow these steps a fresh approach please.

I wished this time you will be able to install and run rasa.

post by hoangnguyen1222 on Aug 25, 2021

thank you

post by hoangnguyen1222 on Aug 25, 2021

what files are deleted rasa files ?

post by nik202 on Aug 25, 2021

next time please mention me for a quick reply.

post by hoangnguyen1222 on Aug 25, 2021

thank you so much my rasa x worked

post by nik202 on Aug 25, 2021

you are welcome and many congratulations

post by mridullpandey on Sep 22, 2021

import rasax.community.database.schema_migrations.alembic.utils as migration_utils File “C:\Users\mridu\Anaconda3\envs\rasa\lib\site-packages\rasax\community\database\schema_migrations\alembic\utils.py”, line 12, in from sqlalchemy.engine import reflection, Row, Connection ImportError: cannot import name ‘Row’ from ‘sqlalchemy.engine’ (C:\Users\mridu\Anaconda3\envs\rasa\lib\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/.

done everything properly this is what it throws.

(rasa) C:\Users\mridu\Desktop\Jarvis_Bot>rasa --version Rasa Version : 2.8.6 Minimum Compatible Version: 2.8.0 Rasa SDK Version : 2.8.2 Rasa X Version : 0.42.2 Python Version : 3.7.0 Operating System : Windows-10-10.0.19041-SP0 Python Path : C:\Users\mridu\Anaconda3\envs\rasa\python.exe

post by nik202 on Sep 22, 2021

@mridullpandey Please share rasa --version ? @mridullpandey can you please even share the screenshot of error?

post by mridullpandey on Sep 22, 2021

post by nik202 on Sep 22, 2021

@mridullpandey Try install

pip install SQLAlchemy==1.3.22

But, I guess you will still get some new error, but still try.

post by mridullpandey on Sep 22, 2021

have did the same

post by nik202 on Sep 22, 2021

@mridullpandey Same error?

@mridullpandey Did you see my above post as a solution? and tried?

post by mridullpandey on Sep 22, 2021

yes

from sqlalchemy.engine import reflection, Row, Connection ImportError: cannot import name ‘Row’ from ‘sqlalchemy.engine’ (C:\Users\mridu\Anaconda3\envs\rasa\lib\site-packages\sqlalchemy\engine_init_.py)

post by mridullpandey on Sep 22, 2021

have did the same

post by nik202 on Sep 22, 2021

@mridullpandey Then still you getting error’s?

post by mridullpandey on Sep 22, 2021

yes

post by nik202 on Sep 22, 2021

@mridullpandey Did you working on CMD prompt? Right Not on the Anaconda Base Prompt ? Comment on this please.

post by mridullpandey on Sep 22, 2021

thanks a lot for the help …and too for this wonderfull forum as well

post by nik202 on Sep 22, 2021

@mridullpandey Happy to help you buddy!

post by mridullpandey on Sep 22, 2021

here when we select any button we are reflected with the intent is there any way to reflect the whole button content rather than /G

post by nik202 on Sep 22, 2021

Hi, I can see this not related to the current topic, can I request to create a new topic thread, if you have error?