app runs fine with interpreter, but not under py2exe
GHUM
haraldarminmassa at gmail.com
Thu Mar 13 14:46:41 EDT 2008
Doug,
> Precision.py is part of the Numeric package. AFAIKT, the problem is during
> the module initialization. The first lines of Precision.py 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
it)
I used this workaround with various packages I py2exed - maybe it also
works for you?
please keep us updated,
Harald
More information about the Python-list
mailing list