executable won't run on another machine

Martin v. Löwis martin at v.loewis.de
Sun Apr 6 13:46:14 EDT 2003


"Lance" <lbrannma at cablespeed.com> writes:

> I created an executable using McMillan's Installer. It runs great on the
> development machine. I copied it to another machine and it doesn't run. I
> type the executable name from a command prompt, hit return, and get another
> command prompt.
[...]
> Any suggestions will be appreciated.

Most likely you are lacking some modules which installer failed to
find (e.g. because they are triggered by computed imports, as PyXML
does them, or the codecs). It works on your development machine
because the modules are still there.

Normally, you should get an exception. Perhaps you are catching all
exceptions somewhere? I recommend you remove this code, to see the
traceback.

I also recommend to use strace to find out what other modules it tries
to load.

Regards,
Martin





More information about the Python-list mailing list