“RuntimeError: generator raised StopIteration” every time I try to run app

后端 未结 5 470
执笔经年
执笔经年 2020-12-02 16:49

I am trying to run this code:

import web

urls = (
    \'/\', \'index\'
)

if __name__ == \"__main__\":
    app = web.application(urls, globals())
    app.ru         


        
5条回答
  •  攒了一身酷
    2020-12-02 17:18

    My solution was to upgrade these pips

    mongoengine from 0.14.0 to 0.19.1 and

    flask-mongoengine to 0.9.5

    it worked.

提交回复
热议问题