参考http://airbnb.io/superset/installation.html
1. 安装环境基于python 2.7或3.4,
2. 安装所需的包
sudo yum upgrade python-setuptools install gcc gcc-c++ libffi-devel pip wheel openssl-libsasl2-openldap-devel3. 安装python版本切换程序vitralenv
virtualenv
安装完成之后,可以通过如下的方法切换 python的版本:
virtualenv venv . ./venv/bin/activate在新环境中安装pip
install --setuptools pip安装并初始化superset
# Install superset pip install superset # Create an admin user (you will be prompted to set 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 # Start the web server on port 8088,use -p to bind to another port superset runserver # To start a development web server,use the -d switch # superset runserver -d原文链接:https://www.f2er.com/centos/377335.html