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

Callum Anderson
seal-mask
.a{fill-rule:evenodd;}techdegree
Callum Anderson
Data Analysis Techdegree Student 10,200 Points

Flask problems with import modules and validators

In the Social Network building course I've ran into some installation and importing issues I think. I heard and saw there was some problems doing this course (this is the updated one) with an updated version of flask so we are on a previous flask version until fixed. I am still having these issues I presume to be the same as others occurred.

snapshot below and errors in shell to follow.

Snap: https://w.trhou.se/eazqqv7sti

Shell Errors: app.py - line 5 "import forms" forms.py - line 18 "class RegisterForm(Form): forms.py - line 34 "Email(),", "raise Exception("Install 'email_validator' for email validation support.")
Exception: Install 'email_validator' for email validation support."

appreciate any help

1 Answer