By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,666 Members | 1,230 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,666 IT Pros & Developers. It's quick & easy.

import * and py2exe

P: n/a
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
Share this Question
Share on Google+
1 Reply

P: n/a
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.