如何在Windows Server 2019上安装Apache Superset?安装它的步骤和命令是什么?
发布于 2020-12-08 13:00:43
首先,您需要在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安装虚拟环境
python3 -m venv超集
。超集/bin/激活
python3 -m pip安装apache-superset
超集数据库升级
#运行上述命令后,如果得到数据类模块缺失错误:运行以下命令,然后再次给出上述命令:
pip安装数据类
导出FLASK_APP=superset
超集fab create-admin
#提供凭证
超集load_examples
超集初始化
超集运行-p 8088 --带线程--重新加载--调试器
现在,您应该能够通过以下地址访问apache:http://127.0.0.1:8088/login/
如果您想要将apache超集与MSSQL数据库连接起来,则需要按照这里提到的步骤安装ODBC驱动程序:
https://stackoverflow.com/questions/65193345
复制相似问题