py2exe problem

Anand anandpillai6 at yahoo.com
Wed Dec 4 00:51:02 EST 2002


Hi Thomas

Yeah , you were right...!
I removed py2exe from PYTHONPATH and everything is right
But I thought my post was a fresh thread ! :-)

Thanks

Anand


Thomas Heller <theller at python.net> wrote in message news:<of83f312.fsf at python.net>...
> anandpillai6 at yahoo.com (Anand) writes:
> 
> > Hi 
> > 
> >  I get this strange error when I am trying to create an exe using py2exe.
> > 
> > F:\Python22\Lib\site-packages\wxPython\samples>python setup.py py2exe
> > Traceback (most recent call last):
> >   File "setup.py", line 4, in ?
> >     import py2exe
> >   File "F:\Python22\Lib\site-packages\py2exe\py2exe.py", line 3, in ?
> >     raise RuntimeError, "something's wrong"
> > RuntimeError: something's wrong
> > 
> > 
> > Py2exe used to work for me before! I have py2exe.py in my PYTHONPATH
> > also.
> Exactly this may be the reason! py2exe is a package, nothing special
> is needed with PYTHONPATH.
> Usually PYTHONPATH contains something like "f:\Python22\Lib\site-packages",
> but NOT the directory where py2exe.py is installed.
> 
> What is your PYTHONPATH?
> 
> Thomas



More information about the Python-list mailing list