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 trialChuwen Tan
5,786 PointsException: Install 'email_validator' for email validation support.
On Challenge Task 3 of 4. It keeps showing "Exception: Install 'email_validator' for email validation support." Please help!
Here is my code:
from flask_wtf import Form
from wtforms import StringField, PasswordField
from wtforms.validators import (DataRequired, Regexp, ValidationError,
Email, Length, EqualTo)
class SignUpForm(Form):
email = StringField(validators=[DataRequired(), Email()])
password = PasswordField( )
2 Answers
Rohald van Merode
Treehouse StaffHi Stephanie Tan 👋
Your code looks good to me and should definitely be passing this challenge. The error you're getting is something that you won't be able to fix as it originates in the setup of this challenge. I have forwarded this issue to our developers to get this fixed.
Thanks for brining this to our attention! I'm sorry for the inconvenience.
Rohald van Merode
Treehouse StaffHey Stephanie Tan 👋
I just got a confirmation from our dev team that a fix for this issue has just been deployed. I have tested your snippet for this challenge and task 3 seems to be passing as expected now 😃
Sorry for the inconvenience, I hope you can now continue with your coding adventure 😄
Happy Coding! Rohald
Chuwen Tan
5,786 PointsChuwen Tan
5,786 PointsThank you Rohald van Merode!