明明加了锁保护,还是出了下面的问题

ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 4460 and this is thread id 7608

解决方式: 

    sqlite3.connect(fp,check_same_thread = False)

相关文章:

  • 2022-01-09
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2021-11-09
  • 2022-12-23
  • 2022-01-18
相关资源
相似解决方案