flask-boilerplate icon indicating copy to clipboard operation
flask-boilerplate copied to clipboard

ImportError: cannot import name 'TextField' from 'wtforms'

Open rseghier opened this issue 2 years ago • 1 comments

solution https://github.com/FreeTAKTeam/FreeTakServer/issues/206

sudo pip3 install WTForms==2.3.3

rseghier avatar May 05 '23 03:05 rseghier

Better yet, in forms.py replace TextField with StringField throughout the file. Then it works (TextField was depreciated)

jjudd25m avatar Nov 01 '23 21:11 jjudd25m