Answers for "Error: Could not locate a Flask application. You did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not found in the current directory."

0

Error: Could not locate a Flask application. You did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not found in the current directory.

set FLASK_APP=hello.py
$env:FLASK_APP = "hello.py"
flask run
Posted by: Guest on September-18-2021

Code answers related to "Error: Could not locate a Flask application. You did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not found in the current directory."

Python Answers by Framework

Browse Popular Code Answers by Language