Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Build a Social Network with Flask Takin' Names LoginManager

Brandon Mowat
Brandon Mowat
8,186 Points

No module named login error

When I try to run my app, I get this error. Any ideas on how to fix it? Anyone else having this problem?

Traceback (most recent call last): File "app.py", line 2, in <module> from flask.ext.login import LoginManager File "/Library/Python/2.7/site-packages/flask/exthook.py", line 87, in load_module raise ImportError('No module named %s' % fullname) ImportError: No module named flask.ext.login

1 Answer

Brandon Mowat
Brandon Mowat
8,186 Points

Okay, I didn't have crypt or flask login installed. I had to install them with pip