SQLAlchemy and py2exe

K

Karlo Lozovina

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...
 
S

Steve Holden

Karlo said:
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...
http://mail.python.org/pipermail/distutils-sig/2005-August/004945.html\

regards
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top