SQLAlchemy and py2exe

Steve Holden steve at holdenweb.com
Sat Oct 21 09:21:39 EDT 2006


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

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




More information about the Python-list mailing list