Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
410 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 Reply

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...