[Flask] [please forward to appropriate list] Flask Tutorial Broken on Windows 10

Joshua N Millings millings at mit.edu
Wed Sep 7 13:46:07 EDT 2016


With the
set FLASK_APP=flaskr
set FLASK_DEBUG=1
flask run
cannot find flask.py.There is no change when directory extensions are used or when the debugger is switched off.

With
set FLASK_APP=flaskr
set FLASK_DEBUG=1
python -m flask run


the website is accessible from a browser, however a builtin.importerror is displayed. There is no change with the debugger being switched off or with the extensions being added to flaskr.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20160907/e65ef60c/attachment.html>


More information about the Flask mailing list