superset安装指南

superset安装指南

在centos7上安装
首先安装一些依赖包

yum -y install python36 cc gcc-c++ libffi-devel python3-devel python3-pip python3-wheel openssl-devel libsasl2-devel openldap-devel
pip3 install superset==0.28.1
pip3 install flask
pip3 install wtforms_json
pip3 install flask_appbuilder
pip3 install flask_compress
pip3 install celery
pip3 install flask_migrate
pip3 install flask_talisman
pip3 install flask_caching
pip3 install sqlparse
pip3 install bleach
pip3 install markdown
pip3 install numpy
pip3 install pandas==0.23.4
pip3 install parsedatetime
pip3 install pathlib2
pip3 install simplejson
pip3 install humanize
pip3 install geohash
pip3 install polyline
pip3 install geopy
pip3 install cryptography
pip3 install contextlib2
pip3 install pyarrow
pip3 install selenium
pip3 install croniter
pip3 install backoff
pip3 install msgpack
pip3 install retry
pip3 install isodate
pip3 install sqlalchemy==1.2.18
pip3 install flask-jwt-extended==3.18.1

要下载快点改下yum源和pip下载源,我都改成国内的了

然后创建用户,密码

fabmanager create-admin –app superset 

初始化数据库

superset db upgrade

加载案例数据,登录后可查看做好的图表

superset load_examples

初始化用户角色和权限

superset init

启动,-p后面跟端口号,可以自己指定

superset runserver -p 8000

superset安装指南_第1张图片
输入之前设置的账户名和密码就行了。

你可能感兴趣的:(学习经历,大数据,sqlite,前端)