-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Closed
Description
The issue is that when you want to run an app that doesn't have an app.py file it will throw an error saying
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.
The app is supposed to run even without app.py but if you do python controllers.py it will run on the port.
The Error

Environment:
- Python version:3.10.0
- Flask version:3.8.10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
