It appears that installation of flask-login has issues. Despite a successful install using the below
pip install flask-login
My app.py file
For flask-login 0.3.2 and later, following is the way:
from flask_login import LoginManager
to find the flask-login version, you can run the following command in terminal. Just change the name to know the version of other packages.
pip show flask-login
Note:- not sure from which version of flask-login this convention is followed