Pip install rasa-x leads to alembic error

Hi all,

I’ve read through some of the threads here regarding rasa-x installation but am still getting errors.

Here is what I did

# Create virtualenv

/usr/bin/python3.8 -m venv rasaxvenv

. rasaxvenv/bin/activate

pip install -U pip wheel

pip list
Package    Version
---------- -------
pip        21.3.1
setuptools 49.2.1
wheel      0.37.0

# Install rasa-x

pip install rasa-x==0.39.3 SQLAlchemy==1.3.22 sanic-jwt==1.6.0 --extra-index-url https://pypi.rasa.com/simple --use-deprecated=legacy-resolver

rasa --version
Rasa Version      :         2.8.12
Minimum Compatible Version: 2.8.9
Rasa SDK Version  :         2.8.2
Rasa X Version    :         0.39.3
Python Version    :         3.8.9
Operating System  :         Linux-4.15.0-142-generic-x86_64-with-glibc2.17
Python Path       :         /home/peter/rasaxvenv/bin/python3.8

# Run rasa x

rasa x
[...]
  File "/home/peter/rasaxvenv/lib/python3.8/site-packages/alembic/script/revision.py", line 386, in _revision_for_ident
    raise ResolutionError(
alembic.util.exc.CommandError: Can't locate revision identified by 'd741ab0a01aa'

Any ideas what is causing this? Do I need to downgrade rasa?

Many thanks

@peterw please delete .db (events and rasa ) from the project folder if is showing alembic issue. You will be able to run rasa x

Thanks Nik, removing rasa.db did indeed fix the issue!