1,确保有python3和pip
2,安装依赖
apt update
apt install -y build-essential libssl-dev libffi-dev libsasl2-dev libldap2-dev
#这块会比较耗时
pip install numpy
pip install sasl
3,安装superset,执行完后就会默认8088端口启动
# Install superset
pip install superset
#如果遇到Was unable to import superset Error: cannot import name '_maybe_box_datetimelike'错误则需要
pip uninstall pandas
pip install pandas==0.23.4
# Create an admin user (you will be prompted to set a username, first and last name before setting a password)
fabmanager create-admin --app superset
# Initialize the database
superset db upgrade
# 加载superset例子,可要可不要
superset load_examples
# Create default roles and permissions
superset init
# To start a