Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
41.7k views
in Technique[技术] by (71.8m points)

python - textwrap dedent未加载到heroku中以用于绘图破折号(Textwrap dedent not loading in heroku for use in plotly dash)

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...