I am pretty new to the Flask searching core things from https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world#commentform here . I got all libs and packages correctly via pip and I can not see my mistake in the codes and imports .
this is routes.py code :
from app import app
from flask import render_template , request , redirect , url_for , Flask
from app.forms import LoginForm
this is init.py code :
from flask import Flask
from config import Config
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)
migrate = Migrate(app , db)
from app import routes , dbmodels
and finally my flask app's python file code :
from app import app
the output on the browser is :
flask.cli.NoAppException: Could not import "python".
and what it says in the Traceback is :
__import__(module_name)
what does it mean?