from flask-sqlalchemy import SQLAlchemy showing unresolved import error. But i already install flask sqlalchemy in cmd using pip install flask-sqlalchemy command.In python shell in command line sqlalchemy is importing normally there is no problem but in flask app its showing import error
    from flask import Flask, render_template
    from flask_sqlalchemy import SQLAlchemy
    app = Flask(__name__)
    app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///posts.db'
     all_post=[
     {
    'title':'post1',
    'content':'content of post1',
    'author':'dipanjan'
     },
     {
    'title':'post2',
    'content':'content of post2'
     }
     ]
     @app.route('/posts')
     def posts():
     return render_template('posts.html', posts=all_post)
     @app.route('/')
     def home():
       return render_template('index.html')
     if __name__ =="__main__":   
        app.run(debug=True)
 
    