Questions tagged «dash»

0
将Dash部署到Google App Engine python3运行时的问题
我正在尝试使用Python 3灵活运行时将一个非常基本的Dash应用程序部署到GAE,但部署始终失败:“错误:(gcloud.app.deploy)错误响应:[13]部署期间发生内部错误”。我的app在本地运行正常,我怀疑这个问题与GAE的python3运行时和Dash的依赖关系有关 我的app.yaml文件如下: env: flex entrypoint: gunicorn -b :$PORT main:app runtime_config: python_version: 3 manual_scaling: instances: 1 resources: cpu: 1 memory_gb: 1 disk_size_gb: 10 我已经尝试将memory_gb增加到5,但我仍然得到错误。 我的main.py文件如下: import dash import dash_html_components as html import dash_core_components as dcc import plotly.graph_objs as go from dash.dependencies import Input, Output, State, Event from flask import Flask …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.