1. 安装环境

系统:win10 64位
python版本:3.7.5
superset版本:1.0.0

2.常见错误

2.1 ImportError: cannot import name ‘soft_unicode’ from ‘markupsafe’ (D:\software\anaconda\envs\aaa\lib\site-packages\markupsafe_init_.py)

可能是markupsafe吧版本过高引起,执行如下命令

pip install markupsafe==2.0.1

2.2 ImportError: cannot import name ‘_ColumnEntity‘ from ‘sqlalchemy.orm.query‘

sqlalchemy版本不兼容,执行如下命令

pip install sqlalchemy==1.3.24

2.3 ‘export’ 不是内部或外部命令,也不是可运行的程序或批处理文件。

export是Linux和mac中的命令,Windows中应使用

set FLASK_APP=superset

更多推荐