When running plotly dash's interactive graphing tutorial , I encounter an error when deploying to heroku
.
(在运行plotly dash的交互式绘图教程时 ,在部署到heroku
时遇到错误。)
When trouble shooting, I found that their use of the dedent
method from the textwrap
package is causing my app to crash. (排除故障时,我发现他们对textwrap
软件包中的dedent
方法的使用导致我的应用程序崩溃。)
Defining textwrap
in my dependencies file didn't solve.
(在我的依赖项文件中定义textwrap
无法解决。)
Only when I removed dedent
from the code (and substituted with a hackier solution) did the app successfully launch. (仅当我从代码中删除了dedent
(并用黑客解决方案代替)后,该应用程序才能成功启动。)
Any ideas or solutions?
(有什么想法或解决方案吗?)
ask by Yaakov Bressler translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…