pep517

DEPRECATION: zope.interface is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. Discussion can be found at https://github.com/pypa/pip/issues/8559

wtforms

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

pip install WTForms==2.3.3

Better solution:

from wtforms import StringField
# replace all TextField with StringField