Forums

ImportError: cannot import name 'FlaskForm'

[formatted by admin]

2021-04-29 20:45:00,052: Error running WSGI application
2021-04-29 20:45:00,053: ImportError: cannot import name 'FlaskForm'
2021-04-29 20:45:00,053:   File "/var/www/softbyte_pythonanywhere_com_wsgi.py", line 16, in <module>
2021-04-29 20:45:00,053:     from flask_app import app as application  # noqa
2021-04-29 20:45:00,053: 
2021-04-29 20:45:00,053:   File "/home/softbyte/mysite/flask_app.py", line 23, in <module>
2021-04-29 20:45:00,053:     from base.forms import *
2021-04-29 20:45:00,053: 
2021-04-29 20:45:00,053:   File "/home/softbyte/mysite/base/forms.py", line 6, in <module>
2021-04-29 20:45:00,054:     from flask_wtf import FlaskForm

I cant seem to find what could be the issue. Any help

The error message says that there is no FlaskForm object in the module flask_wtf. Can you check that?