im very new to sqlite, im using macbook m1, im try to use jupyter notebook to do sql here is my code
%load_ext sql
import csv, sqlite3
con = sqlite3.connect("socioeconomic.db")
cur = con.cursor()
everything is okay until this but when i connect to the sqlite
%sql sqlite:///socioeconomic.db
there is error something like this
MetaData.__init__() got an unexpected keyword argument 'bind'
Connection info needed in SQLAlchemy format, example:
postgresql://username:password@hostname/dbname
or an existing connection: dict_keys([])
do you have any suggestion what should i do?
i tried to use other laptop but windows, and the same code works, but in mac isnt