Hello, I'm trying Rest API and I want to make a database using Flask_SQLAlchemy but for some unknown reason when I install it, it doesn't let me fully use the library. Such as functions like Column.
When I try running main.py:
sqlalchemy.exc.ArgumentError: Mapper Mapper[VideoModel(video_model)] could not assemble any primary key columns for mapped table 'video_model'
I tried installing using:
pip install Flask-SQLAlchemy
sudo apt-get install python3-flask-sqlalchemy
Both worked and output that it's already installed.