SQLAlchemy and py2exe

Karlo Lozovina _karlo_ at _mosor.net_
Fri Oct 20 22:51:47 EDT 2006


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.
|__|_|__||_____|_____|



More information about the Python-list mailing list