【问题标题】:Installing Apache Superset on Windows Server 2019, and connecting Superset with MSSQL在 Windows Server 2019 上安装 Apache Superset,并将 Superset 与 MSSQL 连接
【发布时间】:2021-03-19 10:41:07
【问题描述】:

如何在 Windows Server 2019 上安装 Apache Superset?安装它的步骤和命令是什么?

【问题讨论】:

    标签: apache-superset windows-server-2019


    【解决方案1】:

    首先,您需要在 Windows Server 2019 上启用 Linux。按照此处提到的步骤操作:

    https://docs.microsoft.com/en-us/windows/wsl/install-manual

    除此之外,您可能还需要在 Windows 计算机上安装 Microsoft Build Tools for Visual Studio。您可以按照此处的步骤安装它:

    https://www.scivision.co/python-windows-visual-c++-14-required/

    一旦你拥有了这两个,在此处提到的 Linux 终端中运行以下命令来安装 Apache Superset:

    来源:https://superset.apache.org/docs/installation/installing-superset-from-scratch

    sudo apt-get install build-essential libssl-dev libffi-dev python3-dev python3-pip libsasl2-dev libldap2-dev

    python3 -m pip install virtualenv

    python3 -m venv 超集

    。超集/bin/激活

    python3 -m pip install apache-superset

    超集数据库升级

    #运行上面的命令后如果遇到dataclass module missing error: 运行下面的命令,然后再给上面的命令:

    pip 安装数据类

    导出 FLASK_APP=superset

    superset fab create-admin

    #提供凭据

    超集 load_examples

    超集初始化

    superset run -p 8088 --with-threads --reload --debugger

    现在您应该可以在以下位置访问 apache 超集: http://127.0.0.1:8088/login/

    如果你想连接 apache superset 和 MSSQL 数据库,那么你需要先按照这里提到的步骤安装 ODBC 驱动:

    https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15

    【讨论】:

      猜你喜欢
      • 2020-06-03
      • 2021-10-30
      • 2023-03-10
      • 2020-08-31
      • 2019-08-06
      • 1970-01-01
      • 2021-06-08
      • 2020-03-30
      相关资源
      最近更新 更多