app runs fine with interpreter, but not under py2exe

GHUM haraldarminmassa at
Thu Mar 13 19:46:41 CET 2008


> is part of the Numeric package.  AFAIKT, the problem is during
> the module initialization.  The first lines of are:
> from multiarray import zeros
> import string
and your program is crashing on the

lst.append( (zeros( (1,), t ).itemsize()*8, t) )   <-- Line 18

line... Please, try the following:

import multiarray
from multiarray import zeros
import string

(adding the line "import multiarray" before zeros are imported from

I used this workaround with various packages I py2exed - maybe it also
works for you?

please keep us updated,


More information about the Python-list mailing list