Superset安装
Superset version 1.8.5
# Install superset
pip install cairocffi
pip install superset
![](https://images2017.cnblogs.com/blog/117047/201708/117047-20170802145850615-1658585915.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://images2017.cnblogs.com/blog/117047/201708/117047-20170802145915271-1657411544.png)
yum install python-devel mysql-devel
yum install MySQL-python
# Initialize the database
superset db upgrade
![](https://images2017.cnblogs.com/blog/117047/201708/117047-20170802145946380-1088726793.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