Superset version 1.8.5
# Install superset
pip install cairocffi
pip install superset

yum install gcc-c++ python-devel.x86_64 cyrus-sasl-devel.x86_64
修改superset/config.py
SQLALCHEMY_DATABASE_URI = 'mysql://user:pswd@host:3306/superset'
# Create an admin user
fabmanager create-admin --app superset

yum install python-devel mysql-devel
yum install MySQL-python
# Initialize the database
superset db upgrade

pip install flask==0.11
UserWarning: The installed version of numexpr 2.4.4 is not supported in pandas and will be not be used
pip install numexpr==2.4.6
# Load some data to play with
superset load_examples
# Create default roles and permissions
superset init
# Start the web server on port 8088
superset runserver -p 8088