Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Was unable to import app Error: Install 'email_validator' #1358

Closed
kitson618 opened this issue Apr 23, 2020 · 2 comments · Fixed by #1360
Closed

Was unable to import app Error: Install 'email_validator' #1358

kitson618 opened this issue Apr 23, 2020 · 2 comments · Fixed by #1360

Comments

@kitson618
Copy link

If you'd like to report a bug in Flask-Appbuilder, fill out the template below. Provide
any extra information that may be useful

Environment

Python 3.6.10

Flask-Appbuilder version:
2.3.2

Describe the expected results

Tell us what should happen.

Able to create an admin user by running "fabmanager create-admin"

Describe the actual results

Tell us what happens instead.

An Error message shows: 
Was unable to import app Error: Install 'email_validator' for email validation support.

Probably setup.sh missing the plugin "email_validator"

Steps to reproduce

  1. pip install flask-appbuilder
  2. fabmanager create-app
  3. fabmanager create-admin

An error will be hit ->
Was unable to import app Error: Install 'email_validator' for email validation support.

@dpgaspar
Copy link
Owner

I'm able to reproduce, this is related with this issue also: #1356

Do the following:

pip install wtforms==2.2.1

@dpgaspar
Copy link
Owner

New FAB 2.3.3 fixes this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants