I just started learning flask and I am stuck at setting up the Flask environment variables. I don\'t know how to setup the environment variables. Whenever I use the flask
flask
My error was also same but fortunately I was able to resolve it. Here you go,
D:\Development\Projects\Python_Projects\flask_blog>set FLASK_APP=app.py D:\Development\Projects\Python_Projects\flask_blog>$env:FLASK_APP = "app.py" D:\Development\Projects\Python_Projects\flask_blog>python -m flask run