You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't reproduce this issue with the information provided. The tutorial code is included in the repo if you want to compare if you missed or typoed something. It runs fine for me. There's no need to create the script you've shown, the flask command shown in the tutorial already does that for you.
Description
If you try to run the Flask application by following this tutorial it doesn't work: https://flask.palletsprojects.com/en/3.0.x/tutorial/factory/
Suggested solution
In my personal project, I created an app.py file and in there I pasted the following code:
I run this file and the Flask app can initialize.
The text was updated successfully, but these errors were encountered: