samedi 30 juillet 2016

New to flask and Flask-Login - ImportError: No module named login

It appears that installation of flask-login has issues. Despite a successful install using the below

 pip install flask-login

My app.py file:

 from flaskext.login import LoginManager
 lm = LoginManager()

I get this error :

ImportError: No module named login

So how do I resolve

Aucun commentaire:

Enregistrer un commentaire