我安装的superset的版本为:2.8.1
安装步骤:
- 安装anaconda
直接在anaconda软件目录下使用 bash Anaconda3-4.4.0-Linux-x86_64.sh 安装。
安装过程中需要输入‘y’,使得python环境变量被添加到系统中,
接下来还需要配置conda的环境变量。只需要在具体的系统环境变量中添加如下内容即可,具体路径根据实际情况调整。
export CONDA_HOME=“anconda的安装目录”
export PATH=$CONDA_HOME/bin:$PATH
- 在安装Anaconda用户的家目录下创建 ‘.condarc’文件,并添加如下内容:
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
show_channel_urls: true
- 安依赖
a) yum upgrade python-setuptools
b) yum install gcc gcc-c++ libffi-devel python-devel python-pip python-wheel openssl-devel libsasl2-devel openldap-devel
- 为了避免依赖冲突,创建superset的虚拟环境