When using py2exe, PyQt application cannot load SQlite database

后端 未结 3 612
轮回少年
轮回少年 2021-01-16 07:12

My PyQt application works fine when running on Linux, when in my Windows build environment, or frozen on the machine where it was build with py2exe. But after moving the fro

3条回答
  •  粉色の甜心
    2021-01-16 08:09

    I solved it!

    I had a really clever way to avoid making my users install vcredist--I copied the manifest and the DLLs into two places and all the errors about the MS DLLs went away. That's when I started trying to figure out this SQLite driver error.

    I wasn't as smart as I thought. If I install vcredist all the "Driver Not Loaded" and "No SQL drivers found" errors go away. Arg.

提交回复
热议问题