很多这样的线索,但我还是很困惑。我有急事,我不知道我做错了什么。。。在
错误信息如下:
File "/app/src/pptxbuilder/app.py", line 85, in <module>
__web_setup()
File "/app/src/pptxbuilder/app.py", line 35, in __web_setup
from pptxbuilder.views.home import home_bp
File "/app/src/pptxbuilder/views/__init__.py", line 2, in <module>
from .builder import builder_bp
File "/app/src/pptxbuilder/views/builder.py", line 30, in <module>
from pptxbuilder.app import app
File "/app/src/pptxbuilder/app.py", line 85, in <module>
__web_setup()
File "/app/src/pptxbuilder/app.py", line 36, in __web_setup
from pptxbuilder.views.builder import builder_bp
ImportError: cannot import name 'builder_bp'
以下是我的路径:
^{pr2}$在'生成器.py“我有这个变量
builder_bp = Blueprint('builder', __name__)
在'主页.py“我有这个变量
home_bp = Blueprint('home', __name__)
我在下面排队应用程序副本'
'from pptxbuilder.views.builder import builder_bp'
删除pptxbuilder。在
简单的例子,但概念应该是相同的。你的确切密码当然会不同。
相关问题 更多 >
编程相关推荐