how do I fix a terminal that does not import db when I enter: 'from app import db'?
PS C:\Flask-Website> & c:/Flask-Website/.venv/Scripts/Activate.ps1
(.venv) PS C:\Flask-Website> python
Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from app import db
What I have tried:
I have not really tried anything meaningful. I am a newbie programmer.