Steven123452
Steven123452

Reputation: 25

ModuleNotFoundError: No module named 'wtforms'

can anyone tell my why it's telling me there is no module named "wtforms"

from wtforms import Form, StringField, validators

screenshot of code running from jupyter-notebook

Upvotes: 2

Views: 8668

Answers (2)

AlanJames
AlanJames

Reputation: 119

the error is most probably because you haven't installed "wtforms" module. This module is available to download from Pypi run

pip install -U WTForms

This command will install wtforms and update to latest version. if this hasn't fixed your problem, feel free to reply

Upvotes: 4

Albatros23
Albatros23

Reputation: 331

Maybe this topic can help ModuleNotFoundError: No module named 'flask_wtforms'

With no further info, it could be that you have forgotten to install the library on your virtual environment using pip install flask-wtf after activating it.

Upvotes: 1

Related Questions