SQLAlchemy and py2exe

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Karlo Lozovina

    #1

    SQLAlchemy and py2exe

    I've installed SQLAlchemy under Windows (strangely, it didn't install
    inside ../site-packages/ as a directory, but rather as a
    SQLAlchemy-0.2.8-py2.4.egg file). I can import it with 'import
    sqlalchemy' and run my program with WingIDE, SPE and ofcourse in plain old
    Python shell (ipython actually).

    But when I build my .exe using py2exe and run the executable, it fails
    with 'Cannot import module sqlalchemy' error. Is it because SA is
    installed inside a .egg file, and can I somehow force it to install like
    all the other packages?

    Thanks guys...

    --
    _______ Karlo Lozovina - Mosor
    | | |.-----.-----. web: http://www.mosor.net || ICQ#: 10667163
    | || _ | _ | Parce mihi domine quia Dalmata sum.
    |__|_|__||_____ |_____|
  • Steve Holden

    #2
    Re: SQLAlchemy and py2exe

    Karlo Lozovina wrote:
    I've installed SQLAlchemy under Windows (strangely, it didn't install
    inside ../site-packages/ as a directory, but rather as a
    SQLAlchemy-0.2.8-py2.4.egg file). I can import it with 'import
    sqlalchemy' and run my program with WingIDE, SPE and ofcourse in plain old
    Python shell (ipython actually).
    >
    But when I build my .exe using py2exe and run the executable, it fails
    with 'Cannot import module sqlalchemy' error. Is it because SA is
    installed inside a .egg file, and can I somehow force it to install like
    all the other packages?
    >
    Thanks guys...
    >


    regards
    Steve
    --
    Steve Holden +44 150 684 7255 +1 800 494 3119
    Holden Web LLC/Ltd http://www.holdenweb.com
    Skype: holdenweb http://holdenweb.blogspot.com
    Recent Ramblings http://del.icio.us/steve.holden

    Comment

    Working...