zoukankan      html  css  js  c++  java
  • Windows部署superset操作手册

    一、python导出所有已安装的模块

    1、首先安装freeze模块

    pip install freeze -i https://mirrors.aliyun.com/pypi/simple/

    安装成功

    2、导出到桌面requirements.txt 文件

    pip freeze> C:UserszdDesktop equirements.txt

    pip freeze> C:UserslenovoDesktop equirements.txt

    导出成功

    二、安装Anaconda 

    查看本文件夹里面其他文档

    anaconda添加到path里面

    三、安装superset流程

    1coda命令来创建虚拟环境:

    conda create -n superseta python=3.7

     

     

    等待中

     

     

    安装成功

     

    2激活虚拟环境:

    activate superset

     

    3、查看已经安装了哪些包

    pip list

    4、安装cryptography

    pip install cryptography -i https://mirrors.aliyun.com/pypi/simple/

    5、更新setuptools pip

    pip install --upgrade setuptools pip -i https://mirrors.aliyun.com/pypi/simple/

    6、安装 superset

    pip install superset -i https://mirrors.aliyun.com/pypi/simple/

    7、安装其他的包

    安装superset后,可以用 pip 命令先安装,建议指定上面的数据源,这样会比较快 flaskwtforms_jsonflask_appbuilderflask_compressflask_migrateflask_talismanflask_cachingemail_validatorcelerysqlparsebleachmarkdownnumpypandas==0.23.4pathlib2simplejsonhumanizepolylinegeopybackoffpyarrowcroniterretryisodateSQLAlchemy==1.2

    8pip install 一次安装多个包

    pip install -r C:UserszdDesktop equirements.txt -i https://mirrors.aliyun.com/pypi/simple/

    pip install -r C:UserslenovoDesktop equirements.txt -i https://mirrors.aliyun.com/pypi/simple/

    安装中

    全部安装完毕

    9、进入superseta虚拟环境

    先进入到d

    cd D:Anaconda3envssupersetLibsite-packagessupersetin

    10升级数据库

    python  superset db upgrade

     

    11、修改geohash

    改小写

    __init__里面加点

    12、创建管理员账号

    python superset fab create-admin

     

    13载入案例数据(若载入不成功,可跳过此步骤)

    python superset load-examples

    14初始化数据库

    python superset init

    15、启动服务

    Python superset run -p 8088

    16、浏览器登录

    http://127.0.0.1:8088

  • 相关阅读:
    Linux中的计算器(bc)
    在Linux中显示日历(cal)
    在Linux中显示日期(date)
    Linux中的注销当前用户
    Linux中的提示符
    在Linux中启动X Window
    硬盘知识
    划分Linux分区
    Linux中的关机
    hdu4424 Conquer a New Region 并查集/类似最小生成树
  • 原文地址:https://www.cnblogs.com/zhang-da/p/14351447.html
Copyright © 2011-2022 走看看