R: Py2exe beginner troubles

Fabrizio facelle at jumpy.it
Thu Sep 27 13:57:01 EDT 2001


Thank you, now it works !

By the way, is PIL (Python Imaging Library) supported by py2exe ?
I have tried it, but I got an error message.

Thanks in advance,

Fabrizio C.



Thomas Heller <thomas.heller at ion-tof.com> wrote in message
9ot8an$f0fau$1 at ID-59885.news.dfncis.de...
>
> "Fabrizio" <facelle at jumpy.it> wrote in message
news:9ot7pg$ci1$1 at serv1.albacom.net...
> > Hi,
> >
> > I am trying to use Py2exe to build a standalone executable of a very
basic
> > program (see below), but with no luck.
> >
> > This is what I get:
> >
> > error: invalid command 'py2exe' (no module named
'distutils.command.py2exe')
> >
> >
> > What am I doing wrong ?
> The common mistake which leads to this problem is to
> have your scripts in the python\py2exe directory.
>
> Move your script and your setup.py file somewhere else,
> and it will work.
>
> py2exe is a package containing a module named py2exe,
> and executing 'import py2exe' in the package directory
> will pick up the module instead of the package.
> I think i will have to rename the module to something else...
>
> Thomas
>
>





More information about the Python-list mailing list