Error when run rasa X

hello. i’m done with installing rasa x using command pip install rasa-x --extra-index-url Simple Index. but when i run command rasa x, there’s an error like this:

(tugasakhir) C:\Users\hamid\Documents\BotSkripsi>rasa x Starting Rasa X in local mode… :rocket: Traceback (most recent call last): File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\rasa\cli\x.py”, line 496, in run_locally local.main( File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\rasax\community\local.py”, line 234, in main sql_migrations.run_migrations(session) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\rasax\community\sql_migrations.py”, line 25, in run_migrations _run_schema_migrations(session) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\rasax\community\sql_migrations.py”, line 41, in _run_schema_migrations _run_alembic_migration(alembic_config) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\rasax\community\sql_migrations.py”, line 65, in _run_alembic_migration command.upgrade(alembic_config, target_revision) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\command.py”, line 298, in upgrade script.run_env() File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\script\base.py”, line 489, in run_env util.load_python_file(self.dir, “env.py”) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\util\pyfiles.py”, line 98, in load_python_file module = load_module_py(module_id, path) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\util\compat.py”, line 184, in load_module_py spec.loader.exec_module(module) File “”, line 843, in exec_module File “”, line 219, in _call_with_frames_removed File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\rasax\community\database\schema_migrations\alembic\env.py”, line 96, in run_migrations_online() File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\rasax\community\database\schema_migrations\alembic\env.py”, line 86, in run_migrations_online context.run_migrations() File “”, line 8, in run_migrations File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\runtime\environment.py”, line 846, in run_migrations self.get_context().run_migrations(**kw) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\runtime\migration.py”, line 511, in run_migrations for step in self._migrations_fn(heads, self): File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\command.py”, line 287, in upgrade return script._upgrade_revs(revision, rev) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\script\base.py”, line 364, in _upgrade_revs revs = list(revs) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\script\revision.py”, line 777, in _iterate_revisions uppers = util.dedupe_tuple(self.get_revisions(upper)) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\script\revision.py”, line 321, in get_revisions resolved_id, branch_label = self.resolve_revision_number(id) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\script\revision.py”, line 501, in _resolve_revision_number self._revision_map File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\util\langhelpers.py”, line 230, in get obj.dict[self.name] = result = self.fget(obj) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\script\revision.py”, line 123, in _revision_map for revision in self._generator(): File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\script\base.py”, line 112, in _load_revisions script = Script.from_filename(self, vers, file) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\script\base.py”, line 906, in from_filename module = util.load_python_file(dir, filename) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\util\pyfiles.py”, line 98, in load_python_file module = load_module_py(module_id, path) File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\alembic\util\compat.py”, line 184, in load_module_py spec.loader.exec_module(module) File “”, line 843, in exec_module File “”, line 219, in call_with_frames_removed File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\rasax\community\database\schema_migrations\alembic\versions\migration_2019_06_03_initial_migration_2a216ed121dd.py”, line 14, in import rasax.community.database.schema_migrations.alembic.utils as migration_utils File “c:\users\hamid\anaconda3\envs\tugasakhir\lib\site-packages\rasax\community\database\schema_migrations\alembic\utils.py”, line 12, in from sqlalchemy.engine import reflection, RowProxy, Connection ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ (c:\users\hamid\anaconda3\envs\tugasakhir\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/.

any solution with that?

@elmoningka Try installing RowProxy

pip install SQLAlchemy==1.3.22

@elmoningka can you please share the rasa version rasa --version

The below command worked fine for rasa x version 0.39.3

For installing this version:

pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple

For RowProxy error : ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ Install)

pip install SQLAlchemy==1.3.22

For sanic related error:

pip install sanic-jwt==1.6.0

For alembic related error

delete .db database file ‘events’ and ‘rasa’ and it will work and .db file automatic created as you run rasa x.

Hey @elmoningka! Did that solved your issue, have you tried it?

hi @nik202 ! yes i’ve tried it, and it worked but i think there’s another error. and pardon me, but do you have any personal account (maybe like twitter) or something, bcs i think i need many more question to ask. but feel free if you can’t give it :smiley:

@elmoningka Great! Please close this thread as a solution for others :slight_smile:

@elmoningka Please check inbox and delete the above email id post. Thanks.