解决办法: 加入这句话connect_args={'check_same_thread': False}
engine = create_engine('sqlite:///DB/Photolysis.db', connect_args={'check_same_thread': False})
解决办法: 加入这句话connect_args={'check_same_thread': False}
engine = create_engine('sqlite:///DB/Photolysis.db', connect_args={'check_same_thread': False})
本文标题:sqlalchemy连接报错 sqlite3.Program
本文链接:https://www.haomeiwen.com/subject/xodedqtx.html
网友评论