468,133 Members | 1,500 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,133 developers. It's quick & easy.

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.
|__|_|__||_____|_____|
Oct 21 '06 #1
1 2055
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/dis...t/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

Oct 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by RJS | last post: by
6 posts views Thread by Luc Saffre | last post: by
20 posts views Thread by John Salerno | last post: by
1 post views Thread by tomec | last post: by
reply views Thread by Karlo Lozovina | last post: by
6 posts views Thread by Ilias Lazaridis | last post: by
3 posts views Thread by Greg Copeland | last post: by
reply views Thread by Nathan Harmston | last post: by
2 posts views Thread by Adam Kubica | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.