Skip to content
Advertisement

ModuleNotFoundError: No module named ‘wtforms.fields.html5’

I have a flask app that uses wtforms.

I have a file which does:

JavaScript

I just wanted to rebuild my docker container and now I have this error:

JavaScript

I have in my requirements.txt:

JavaScript

I tried to add flask_WTF but it did not fix it.

Any idea what’s going on? I thought of upgrading wtforms but it seems like I have the newest version:

JavaScript

Advertisement

Answer

Downgrading WTForms==2.3.3 solved the issue for me. Thread referenced here.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement