Env. Variables not set while running Minimal Flask application

前端 未结 19 2008

I am trying to follow the flask documentation on my windows machine given at the following link: http://flask.pocoo.org/docs/0.11/quickstart/#debug-mode

Firstly I wrote

19条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 04:03

        > set FLASK_APP=Your_file_name.py
        > set FLASK_ENV=development
        > flask run
    

    it must be work for windows user only

提交回复
热议问题