简体   繁体   中英

Unresolved Import for flask_sqlalchemy

I need help... I'm not sure what is the problem. flask and sql-alchemy is installed. I've looked at other solutions across the internet like checking the settings and editing it. eg
"python.pythonPath": "/path/to/your/venv/bin/python", Though for some reason only flask_sqlalchemy seems to be an unresolved import...

Thank you for any sort of help/advice.

image to see.

You said you installed Flask and SQLAlchemy. By that, I understand you did

pip install Flask
pip install SQLAlchemy

But to use Flask-SQLAlchemy, you need to download it separately by doing

pip install Flask-SQLAlchemy

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM