超集服务器未运行

时间:2018-11-20 18:13:51

标签: apache superset apache-superset

我正在按照以下说明安装超集。在此步骤中,“ superset runserver -d”在下面出现错误。我该如何解决此问题。谢谢

[已弃用]从Flask> = 1.0.0开始,不再支持此命令,请改为使用flask run,如我们的CONTRIBUTING.md中所述 [例] 烧瓶运行-p 8080 --with-threads --reload --debugger

# Install superset
pip install superset

# Create an admin user (you will be prompted to set a username, first and last name before setting a password)
fabmanager create-admin --app superset

# Initialize the database
superset db upgrade

# Load some data to play with
superset load_examples

# Create default roles and permissions
superset init

# To start a development web server on port 8088, use -p to bind to another port
superset runserver -d

2 个答案:

答案 0 :(得分:0)

昨天提交https://github.com/apache/incubator-superset/pull/5966修复了与docker install类似的问题。尝试从头克隆存储库,然后执行以下步骤:

git clone https://github.com/apache/incubator-superset/
cd incubator-superset/contrib/docker
# prefix with SUPERSET_LOAD_EXAMPLES=yes to load examples:
docker-compose run --rm superset ./docker-init.sh
# you can run this command everytime you need to start superset now:
docker-compose up

新安装文档:https://github.com/apache/incubator-superset/blob/master/docs/installation.rst

答案 1 :(得分:0)

尝试以下步骤,希望对您有所帮助。

$ pip install flask==1.0.0
$ pip install sqlalchemy==1.2.18
$ pip uninstall pandas
$ pip install pandas==0.23.4