【问题标题】:superset server not running超集服务器未运行
【发布时间】:2018-11-20 18:13:51
【问题描述】:

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

[已弃用] 从 Flask >=1.0.0 开始,不再支持此命令,请改用 flask run,如我们的 CONTRIBUTING.md 中所述 [例子] flask run -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

【问题讨论】:

    标签: apache-superset


    【解决方案1】:

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

    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

    【讨论】:

      【解决方案2】:

      尝试以下步骤:

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

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2016-10-23
        • 2015-01-13
        • 1970-01-01
        • 2021-01-30
        • 1970-01-01
        • 1970-01-01
        • 2012-11-25
        • 1970-01-01
        相关资源
        最近更新 更多