py2exe and tricky imports

Thomas Heller theller at python.net
Thu May 16 13:14:38 EDT 2002


"Chris Prinos" <cprinos at foliage.com> wrote in message news:rJCE8.5700$Bn5.2177823 at typhoon.ne.ipsvc.net...
> I have a set of python applications running under the ActiveState Python 2.1
> distribution in a win32 environment and am trying to use py2exe to create a
> standalone executable.
>
> For the simple cases, I can get it to work, but I am running into problems
> with certain dependant modules not being found. In particular, it fails to
> find varius modules from the xml package (PyXML is installed), mxDateTime
> and mxODBC. I've seen some previous posts that say this is due to the way
> these packages manipulate the default import mechanisms, but none of the
> comments or suggested solutions seemed to help.
>
I cannot say anything about the mx stuff, but unfortunately
py2exe doesn't yet support PyXML currectly. Can you live
with the standard xml stuff distributed with Python?

Thomas





More information about the Python-list mailing list