py2exe + sqlalchemy + sqlite problem

前端 未结 2 1589
一生所求
一生所求 2021-01-30 23:45

I am playing around with getting some basic stuff to work in Python before i go into full speed dev mode. Here are the specifics:

Python 2.5.4
PyQt4 4.4.3
SqlAlc         


        
相关标签:
2条回答
  • 2021-01-31 00:20

    you need to include the sqlalchemy.databases.sqlite package

    setup(
      windows=[{"script" : "main.py"}],
      options={"py2exe" : {
        "includes": ["sip", "PyQt4.QtSql"],
        "packages": ["sqlalchemy.databases.sqlite"]
    }})
    
    0 讨论(0)
  • 2021-01-31 00:31

    you need change to sqlalchemy.dialects.sqlite package

    setup( windows=[{"script" : "main.py"}], options={"py2exe" : { "includes": ["sip", "PyQt4.QtSql"], "packages": ["sqlalchemy.dialects.sqlite"] }})

    0 讨论(0)
提交回复
热议问题