报错ImportError: cannot import name ‘soft_unicode’ from 'markupsafe’和ImportError: cannot import name ‘TypedDict’ from ‘typing’ (/opt/module/miniconda3/envs/superset/lib/python3.7/typing.py)
ImportError: cannot import name ‘soft_unicode’ from ‘markupsafe’
这个错误好像是新版本的markupsafe代码变动问题产生的,需要退回到2.0.1
python -m pip install markupsafe==2.0.1
Usage: superset [OPTIONS] COMMAND [ARGS]… Error: Could not locate a Flask application. You did not provide the “FLASK_APP” environment variable, and a “wsgi.py” or “app.py” module was not found in the current directory.
出现这种错误是因为没有配置管理员用户
export FLASK_APP=superset