Rasa x crashes on start - missing psycopg2

__ solved it __ I had to remove the environment variable LOCAL_MODE = false form my custom setup.

I don’t know if this qualifies for a bug report on github so it goes here for now.

Rasa version: 1.5.1

Rasa X version (if used & relevant): 0.23.1 and 0.23.2

Python version: 3.7.5

Operating system (windows, osx, …): Ubuntu 18.04.3 LTS

Issue: After installing a fresh virtual environment with the rasa-x version 0.23.2 (as well as 0.23.1), rasa fails on start. This started happening today. I could just install the module manually, but there might be a bigger dependency problem somewhere.

Error (including full traceback):

Starting Rasa X in local mode... 🚀

Traceback (most recent call last):

  File "/usr/local/lib/python3.7/site-packages/rasa/cli/x.py", line 396, in run_locally
	args, project_path, args.data, token=rasa_x_token, config_path=config_path
  File "/usr/local/lib/python3.7/site-packages/rasax/community/local.py", line 181, in main
	with session_scope() as session:
  File "/usr/local/lib/python3.7/contextlib.py", line 112, in __enter__
	return next(self.gen)
  File "/usr/local/lib/python3.7/site-packages/rasax/community/database/utils.py", line 153, in session_scope
	session = create_session_maker(url)()
  File "/usr/local/lib/python3.7/site-packages/rasax/community/database/utils.py", line 138, in create_session_maker
	max_overflow=int(os.environ.get("SQL_MAX_OVERFLOW", "100")),
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/__init__.py", line 479, in create_engine
	return strategy.create(*args, **kwargs) 
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
	dbapi = dialect_cls.dbapi(**dbapi_args)
  File "/usr/local/lib/python3.7/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 737, in dbapi
	import psycopg2
ModuleNotFoundError: No module named 'psycopg2' 

Command or request that led to error:

rasa x --no-prompt 

.