superset-安装

安装anaconda3(略)

superset-安装

   conda config --set auto_activate_base false
   conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
   conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
   conda config --show-sources
   conda config --set auto_activate_base false
   conda create -n superset python=3.7
   conda info --envs
   conda activate superset
   yum install -y python-setuptools
   yum install -y gcc gcc-c++ libffi-devel python-devel python-pip python-wheel openssl-devel cyrus-scsl-devel openldap-devel
   pip install --upgrade setuptools pip
   pip install apache-superset
   superset db upgrade
   export FLASK_APP=superset
   flask fab create-admin
   superset init
   superset run -h 0.0.0.0 -p 8088 --with-threads --reload --debugger 
   #退出环境
   conda deactivate

删除环境

conda remove -n superset  --all

有疑问,可以加我QQ交流 410358630

©️2020 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页