Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Textwrap dedent未在heroku中加载以用于plotly dash_Python_Heroku_Plotly Dash - Fatal编程技术网

Python Textwrap dedent未在heroku中加载以用于plotly dash

Python Textwrap dedent未在heroku中加载以用于plotly dash,python,heroku,plotly-dash,Python,Heroku,Plotly Dash,运行plotly dash时,部署到heroku时遇到错误。在排除故障时,我发现他们使用textwrap软件包中的dedent方法导致我的应用程序崩溃 在我的依赖项文件中定义textwrap无法解决问题。只有当我从代码中删除了dedent(并用一个黑客解决方案替代)后,应用程序才成功启动 有什么想法或解决方案吗?textwrap.dedent在标准库中。您得到的错误到底是什么?感谢您指出@snakecharmerb——我返回并从requirements.txt文件中删除了它,它正在工作。

运行plotly dash时,部署到
heroku
时遇到错误。在排除故障时,我发现他们使用
textwrap
软件包中的
dedent
方法导致我的应用程序崩溃

在我的依赖项文件中定义
textwrap
无法解决问题。只有当我从代码中删除了
dedent
(并用一个黑客解决方案替代)后,应用程序才成功启动


有什么想法或解决方案吗?

textwrap.dedent
在标准库中。您得到的错误到底是什么?感谢您指出@snakecharmerb——我返回并从
requirements.txt
文件中删除了它,它正在工作。