小编Ran*_*and的帖子

MetaData.__init__() got an unexpected keyword argument 'bind' when using sqlite

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()
Run Code Online (Sandbox Code Playgroud)

everything is okay until this but when i connect to the sqlite

%sql sqlite:///socioeconomic.db
Run Code Online (Sandbox Code Playgroud)

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([])
Run Code Online (Sandbox Code Playgroud)

do you have any suggestion what should …

sqlite jupyter-notebook

5
推荐指数
1
解决办法
7177
查看次数

标签 统计

jupyter-notebook ×1

sqlite ×1