In a project, when using flask-SQLAlchemy, there was an import error error, and the landlord immediately felt tight. Obviously flask comes with sqlalchemy. Why is there an error? I searched on the Internet. There are too few materials. The information is not clear.
Solution: pip install Flask-SQLAlchemy or easy_install Flask-SQLAlchemy has
newly installed flask-SQLAlchemy, so that it will not go wrong.
Guess it may be a package incompatibility or a version problem.
Solutions to import error when calling flask-SQLAlchemy
Guess you like
Origin blog.csdn.net/zengchenacmer/article/details/45031317
Ranking