ImportError: No module named sqlalchemy

前端 未结 14 1475
渐次进展
渐次进展 2020-12-08 03:45

I\'m unable to find a module in python ,though easy_install says its already installed. Any idea how to resolve this isseue?

$ python -c \"from flaskext.sql         


        
14条回答
  •  没有蜡笔的小新
    2020-12-08 04:23

    first install the library

    pip install flask_sqlalchemy 
    

    after that

    from flask_sqlalchemy import SQLAlchemy
    

    put this in app.py file to get the access of database through SQLAlchemy

提交回复
热议问题