Superset version 1.8.5
# Install superset
pip install cairocffi
pip install superset
![](https://i-blog.csdnimg.cn/blog_migrate/6bbfdf26dd3c44fa55f506c274d6e058.png)
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
![](https://i-blog.csdnimg.cn/blog_migrate/53feeea8971a1e89e801923cca366878.png)
yum install python-devel mysql-devel
yum install MySQL-python
# Initialize the database
superset db upgrade
![](https://i-blog.csdnimg.cn/blog_migrate/f96b454d51c94b4e1c208a6ae5433ac5.png)
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