ImportError: No module named sqlalchemy

前端 未结 14 1472
渐次进展
渐次进展 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:21

    This code works perfectly:

    import sqlalchemy
    

    Maybe you installed the package in another version of the interpreter?

    Also, like Shawley pointed out, you need to have the flask extension installed in order for it to be accessible.

提交回复
热议问题