我无法在Windows 和 run_simple
下的werkzeug中运行use_reloader=True
开发者网络服务器:
run_simple("localhost", 8090, application, use_reloader=True)
最终在too many values to unpack
中遍历new_environ
时会抛出wergzeug.serving
。如果我删除use_reloader
(默认为False
)而不是服务器运行没有问题。我错过了什么?
更新:此问题仅出现在0.6版本上。 (也就是说,在0.5作品上,在0.6上它没有。我不知道小修改。)
答案 0 :(得分:2)
使用开发版本。即将发布的0.7版本将解决这个问题。