Apache Superset (incubating) is a modern, enterprise-ready business intelligence web application
Install superset 0.28.1
环境
CentOS 7
python 3.6
virtualenv-16.5.0
安装步骤
1 |
|
启动后,数据库sqlite:////root/.superset/superset.db
Startup
创建Druid数据源
- Sources > Druid Clusters > add
- Sources > Scan New DataSources
Q&A
- pip install superset 报错:pyconfig.h: No such file or directory
需要安装python-devel
- fabmanager create-admin –app superset 报错:Was unable to import superset Error: cannot import name ‘_maybe_box_datetimelike’
这是 pandas 库版本太高导致的,需要安装低版本的 pandas 库
1 | $ pip list | grep pandas |
- superset db upgrade 报错:sqlalchemy.exc.InvalidRequestError: Can’t determine which FROM clause to join from, there are multiple FROMS which can join to this entity.
SQLAlchemy 库版本太高导致的,需要安装低版本的 SQLAlchemy 库
1 | $ pip list | grep -i sqlalchemy |
- dashboard中使用filter组件筛选,会出现组件空白
https://github.com/apache/incubator-superset/issues/6165