import flask could not be resolved from source pylance

  1. Firstly, create a virtual environment on your terminal.
  2. Then install Flask by running pip install flask.
  3. After installing, press CTRL+SHIFT+P.
  4. Search for Python Interpreter.
  5. Select your virtual environment.

The problem will be fixed. I have also faced the same issue, but I resolved it by following this procedure.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)