469,935 Members | 1,522 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

import * and py2exe

I am trying to turn my application into a WinXP exe. Py2exe has packaged
all my files up into one humongous executable. When trying to run the
app, it complains that it can not find modules I just saw it include.
These invariably are modules that have been imported using
from <modulenameimport *
Apparently this confuses py2exe. Well I tried unconfusing it by giving
those modules as imports in the first place!

How can I convince the py2exe-generated app to look for those modules in
its own .exe file???

Paul
Aug 4 '08 #1
1 1084
Paul Sijben wrote:
I am trying to turn my application into a WinXP exe. Py2exe has packaged
all my files up into one humongous executable. When trying to run the
app, it complains that it can not find modules I just saw it include.
These invariably are modules that have been imported using
from <modulenameimport *
Apparently this confuses py2exe. Well I tried unconfusing it by giving
those modules as imports in the first place!

How can I convince the py2exe-generated app to look for those modules in
its own .exe file???

Paul
Don't try to bundle everything into a single .EXE (this is fraught with
"issues"). Drop back to bundle=1 or bundle=2 and it should work for you.

-Larry
Aug 4 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Kathleen Kudzma | last post: by
8 posts views Thread by Kathleen Kudzma | last post: by
reply views Thread by Steven Bell | last post: by
2 posts views Thread by Marc Ederis | last post: by
16 posts views Thread by Manlio Perillo | last post: by
reply views Thread by PipedreamerGrey | last post: by
2 posts views Thread by flupke | last post: by
2 posts views Thread by ward.david | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.