Rasa x problem (“local host website not opening”) in pycharm

Hello @nik202 ,

I had created a Pycharm project with

Rasa Version : 2.8.13

Minimum Compatible Version: 2.8.9

Rasa SDK Version : 2.8.2

Rasa X Version : 0.42.5

Python Version : 3.7.11

Operating System : Windows-10-10.0.19041-SP0 and then when tested rasa x , it did not open a local browser window, instead gave an error of WARNING rasax.community.services.insights.insight_service - No local evaluation result files found. ERROR concurrent.futures - exception calling callback for <Future at 0x1b27ec47548 state=finished raised gaierror>

as suggested tried pip install rasa-x==0.39.3 --extra-index-url Simple Index Looking in indexes: Simple index, Simple Index

and installation is running for more than 30 minutes, but it is still at some in-between step of Collecting astunparse~=1.6.3 Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB).

Will wait till it completes and update once done.

Thank you for taking time to reply.

@nlu can you share pip version whilst activating the condo environment using command pip --version @nlu even share rasa --version screenshot please.

hello @nik202 ,

pip --version

pip 21.2.4 from C:\Users\xxxxxxx\Anaconda3\envs\Rasa_chatbot\lib\site-packages\pip (python 3.7)

rasa --version will share once the installation is complete.

@nlu Right! No worries, as Installation complete. I will recommend to create a new conda environment and check pip version, if its 21.2.4, do downgrade to pip install pip==20.2.2 OR conda install pip==20.2.2 and then follow this process from the thread; Installing rasa - #7 by nik202

It should not take much time like 30min or 1 or 2 hours, seriously insane man!

ok?

Hello @nik202 ,

After pip install pip==20.2.2, pip --version

pip 20.2.2 from C:\Users\xxxx\Anaconda3\envs\Rasa_chatbot\lib\site-packages\pip (python 3.7)

After that ,when I ran rasa installation it was quick and finished in 4/5 minutes…:slightly_smiling_face:

Now my rasa --version is

rasa --version Rasa Version : 2.8.13

Minimum Compatible Version: 2.8.9

Rasa SDK Version : 2.8.2

Rasa X Version : 0.39.3

Python Version : 3.7.11

Operating System : Windows-10-10.0.19041-SP0

ran Rasa train, working fine.

But after running rasa x - error is

Starting Rasa X in local mode… � Traceback (most recent call last): File “C:\Users\xxxx\Anaconda3\envs\Rasa_chatbot\lib\site-packages\rasa\cli\x.py”, line 502, in run_locally domain_path=domain_path, File “C:\Users\xxxxxx\Anaconda3\envs\Rasa_chatbot\lib\site-packages\rasax\community\local.py”, line 234, in main sql_migrations.run_migrations(session)

etc etc

and last line was ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ (C:\Users\xxxx\Anaconda3\envs\Rasa_chatbot\lib\site-packages\sqlalchemy\engine_init_.py)

@nlu install this pip install SQLAlchemy==1.3.22

I hope you seen my thread which I suggested, read every line, you will get all error solution in that bro!

Please do close this thread as solution for yourself and for others. Good Luck! :slight_smile:

@nik202 ,

Yes installed SQLAlchemy as suggested, was still getting couple of errors, but all over this community many solutions are provided (many by you …I must admit). Event loop is closed was also one of the error I was getting for quite some time. but mostly after deleting rasa.db, and setting

  1. SET http_proxy=http://localhost:5002
  2. SET https_proxy=http://localhost:5002

has finally helped to start my rasa x on browser mode.

Thank you so much !!

@nlu Its ok, no worries. Can I request to please close this thread as solution for yourself and for others.

Yes, there are some persistent issues with Rasa X latest version and installation, Rasa Team is aware of these issues and try to sort these issues asap. Thanks.