I need help as flask

I am a beginner using flask. unfortunately when i run the server i get this error. What is the solution here?

Error: Failed to find Flask application factory in module ‘app’. Use ‘FLASK_APP=app:name’ to specify one.

I assume you are having trouble running the flask web app. I am assuming you are using visual studio code. If I am correct try this link.

If I am wrong try this link. And if you are not using visual studio code use this link.

python - Error launching Flask app with error "Failed to find Flask application" - Stack Overflow

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.