手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

大数据资料 Superset安装步骤详解

时间:2024-10-14 01:47:01

1、Superset环境准备及安装添加系统依赖

大数据资料 Superset安装步骤详解

2、安装Anaconda钱砀渝测(1)把Anaconda3-2019.03-Linux-x86_64.sh上传到linux的/泠贾高框opt/software目录下(2)运行Anaconda3-2019.03-Linux-x86_64.sh文件进行程序安装

大数据资料 Superset安装步骤详解
大数据资料 Superset安装步骤详解

3、(3)为Anaconda配置环境变量

大数据资料 Superset安装步骤详解
大数据资料 Superset安装步骤详解

4、(4)修改Anaconda 的镜像文件在安装Anaconda用户的家目录下(/home/atguigu/)创建 ‘.condarc’文件,并添加如下内容:

大数据资料 Superset安装步骤详解

5、安装Superset(1)为了避免依赖冲突,创建superset的虚拟环境。

大数据资料 Superset安装步骤详解

6、(2)进入/退出superset环境

大数据资料 Superset安装步骤详解

7、(3)安装 pip 和setuptools最新版,命令如下(包较大,执行时间有点长,出现,

大数据资料 Superset安装步骤详解

8、请重新执行一遍当前命令,支持断点续传):

大数据资料 Superset安装步骤详解

9、(4)创建一个admin用户:

大数据资料 Superset安装步骤详解

10、解决方案:

大数据资料 Superset安装步骤详解
大数据资料 Superset安装步骤详解

11、(5)初始化数据库

大数据资料 Superset安装步骤详解

12、错误提示:"挢旗扦渌;Can't determine which FROM clause to join &qu泠贾高框ot;sqlalchemy.exc.InvalidRequestError: Can't determine which FROM clause to join from, there are multiple FROMS which can join to this entity. Try adding an explicit ON clause to help resolve the ambiguity.解决方案:

大数据资料 Superset安装步骤详解

13、(6)加载一些样例,并进行初始化

大数据资料 Superset安装步骤详解

14、(7)web页面进行汉化(可自主选择):

大数据资料 Superset安装步骤详解

15、找到BABEL_DEFAULT_LOCALE=’en’改为BABEL_DEFAULT_LOCALE = 'zh'

大数据资料 Superset安装步骤详解
大数据资料 Superset安装步骤详解

16、(8)安装mysql连接支持

大数据资料 Superset安装步骤详解

17、(9)启用web页面

大数据资料 Superset安装步骤详解

18、登陆账户和密码均为第四步执行创建的

© 手抄报圈