title: ImportError: "flask_sqlalchemy" could not be resolved
body: <p>i'm unable to import flask_sqlalchemy even after installing flask-sqlachemy</p>
  <pre><code>from flask import Flask, render_template
  from flask_sqlalchemy import SQLAlchemy 
   # ^this line shows error ImportError: &quot;flask_sqlalchemy&quot; could not be resolved
  
  app = Flask(__name__)
  @app.route('/')
  def index():
      return render_template('index.html')
  
  </code></pre>
  <p>i'm not using any virtual environment and flask-sqlalchemy shows already installed</p>
  <pre><code>(base) sachin@sachin:~/Coding/flask/blog$ pip install Flask-SQLAlchemy
  Requirement already satisfied: Flask-SQLAlchemy in /home/sachin/anaconda3/lib/python3.8/site-packages (2.4.4)
  Requirement already satisfied: SQLAlchemy&gt;=0.8.0 in /home/sachin/anaconda3/lib/python3.8/site-packages (from Flask-SQLAlchemy) (1.3.20)
  Requirement already satisfied: Flask&gt;=0.10 in /home/sachin/anaconda3/lib/python3.8/site-packages (from Flask-SQLAlchemy) (1.1.2)
  Requirement already satisfied: Jinja2&gt;=2.10.1 in /home/sachin/anaconda3/lib/python3.8/site-packages (from Flask&gt;=0.10-&gt;Flask-SQLAlchemy) (2.11.2)
  Requirement already satisfied: itsdangerous&gt;=0.24 in /home/sachin/anaconda3/lib/python3.8/site-packages (from Flask&gt;=0.10-&gt;Flask-SQLAlchemy) (1.1.0)
  Requirement already satisfied: click&gt;=5.1 in /home/sachin/anaconda3/lib/python3.8/site-packages (from Flask&gt;=0.10-&gt;Flask-SQLAlchemy) (7.1.2)
  Requirement already satisfied: Werkzeug&gt;=0.15 in /home/sachin/anaconda3/lib/python3.8/site-packages (from Flask&gt;=0.10-&gt;Flask-SQLAlchemy) (1.0.1)
  Requirement already satisfied: MarkupSafe&gt;=0.23 in /home/sachin/anaconda3/lib/python3.8/site-packages (from Jinja2&gt;=2.10.1-&gt;Flask&gt;=0.10-&gt;Flask-SQLAlchemy) (1.1.1)
  </code></pre>
  <p>pip freeze shows me its already installed -</p>
  <pre><code>Flask==1.1.2
  Flask-SQLAlchemy==2.4.4
  </code></pre>