py2exe + sqlalchemy + sqlite problem

前端 未结 2 1591
一生所求
一生所求 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:31

    you need change to sqlalchemy.dialects.sqlite package

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

提交回复
热议问题