我正在尝试在 Flask 中呈现模板,但出现以下错误:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/flask/app.py", line 1701, in __call__
return self.wsgi_app(environ, start_response)
File "/Library/Python/2.7/site-packages/flask/app.py", line 1685, in wsgi_app
with self.request_context(environ):
File "/Library/Python/2.7/site-packages/flask/ctx.py", line 274, in __enter__
self.push()
File "/Library/Python/2.7/site-packages/flask/ctx.py", line 221, in push
top.pop()
File "/Library/Python/2.7/site-packages/flask/ctx.py", line 257, in pop
self.app.do_teardown_request(exc)
File "/Library/Python/2.7/site-packages/flask/app.py", line 1587, in do_teardown_request
rv = func(exc)
不知道这意味着什么,但看起来这是一个框架问题。有谁知道我可以做些什么来解决/解决这个问题?