Rasa x stuck in installation

i lunched this command in ubuntu 18.04 terminal: pip install -U rasa-x --extra-index-url https://pypi.rasa.com/simple

and i’m still stuck in this step for long time: Using cached h11-0.9.0-py2.py3-none-any.whl (53 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking


@wales123 Try this: Downgrade the pip version to 20.2

Then install

pip3 install rasa==2.6.2
pip3 install rasa-sdk==2.6.0
pip install rasa-x==0.40.0 --extra-index-url https://pypi.rasa.com/simple

Current Rasa X 0.41.1 is having this issue.

thanks its working but i have another issue The path ‘config.yml’ does not exist. Please make sure to use the default location (‘config.yml’) or specify it with ‘–config’.

@wales123 while using above solution? or you fixed it by urself?

Can you share the screenshot of your current issue?

yes look when i launch this command : rasa x

that error shows me : alembic.util.exc.CommandError: Can’t locate revision identified by ‘d741ab0a01aa’

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/.

@wales123 are you using some database ?

no, i’m trying just to launch rasa x interface

@wales123 share rasa version please? rasa --version

ok look

@wales123 check some mounting while deleting the database mounted volume. You using Ubuntu?

yes i’m using ubuntu

@wales123 check some mounting is enable related to database please?

@wales123 remove database file .db from the folder which it created.

rm -rf rasa.db rm -rf events.db

Run rasa rasa x -v --vv (give correct path for config/domain/data folder if you have changed their default location)

when i launch command rasa x look what it gives me

@wales123 give path also. at least something happening :slight_smile:

as i know and see in some rasa projects when i launch the command rasa x it should redirect me to a page my browser


how i can give it a path i already made is as default

@wales123 your browser issue is firefox.

    sudo -i

    To start a root shell, then make a backup of root's `.Xauthority` if needed

    test -f .Xauthority && mv .Xauthority .Xauthority.bak

    Copy the file from your home to root's

    cp -a /home/youruser/.Xauthority .Xauthority
    chown root: .Xauthority

    Then you can start Firefox with:

    XAUTHORITY=/root/.Xauthority sudo firefox

    Remember to `exit` the root shell when you've finished with it.

    Also remember to unroll your `.Xauthority` backup when done:

    sudo -i
    test -f .Xauthority.bak && mv .Xauthority.bak .Xauthority

sudo chown -R $USER:$USER ~/.mozilla