sudo apt-get install build-essential libssl-dev libffi-dev python3.6-dev python-pip libsasl2-dev libldap2-dev
pip3 install --upgrade setuptools pip
pip3 install virtualenv
python3 -m venv venv
. venv/bin/activate
退出命令 deactivate
# Install superset
Pip3 install superset
# 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
# Load some data to play with
superset load_examples
# Create default roles and permissions
superset init
# To start a development web server on port 8088, use -p to bind to another port
superset runserver -d
详情请登录官网