I am getting ‘Import "flask_wtf" could not be resolved’.
I had the same problem with:
from flask import Fask
I Had to reinstall flask multiple times
for flask_wtf
I am getting Requirement already satisfied: itsdangerous in c:\users\myprojectvenv\venv\lib\site-packages
…
Installing collected packages: WTForms, flask-wtf
Successfully installed WTForms-3.0.1 flask-wtf-1.1.1
but still nothing is working
I tried reinstalling the flask and flask_wtf
>Solution :
I think you are in your virtual environment
that is (venv)
check your terminal if the path to your project looks something like this
(venv) c:\users\myprojectvenv\venv\lib……..
or something like that
deactivate it
in your terminal run the command "pip install flask-wtf"
then reactivate it using the:
venv\Scripts\activate
this should solve the issue.
I had a similar problem.