HELP -- py2exe failed to build app that uses scipy.plt

Thomas Heller thomas.heller at ion-tof.com
Thu Oct 25 13:46:57 EDT 2001


"eric" <eric at enthought.com> wrote in message news:16f9b1ea.0110250718.7ccc7fe9 at posting.google.com...
> Hey Phil,
>
> I haven't ever used py2exe, so I'll be of little help.  I can't say
> I'm surprised though.  The __init__ files in SciPy have some strange
> importing
> practices that may make it hard for py2exe to determine the needed
> modules.  I don't know how hard it is to fix this sort of thing -- or
> even if it is the problem.
>
> You could try and pull plt out of scipy and use it stand alone, but
> would require at least some hacking as there are some dependencies.
>
> sorry I don't have more info.
>
> eric
An additional problem (I've looked into it) leading to the
syntax error Phil gets is that scipy contains files with
very strange line separators '\r\r\n' IIRC. Python has no
problem executing or importing them, but py2exe uses compile()
which does not accept this.

Thomas





More information about the Python-list mailing list