py2exe problem
Thomas Heller
theller at python.net
Tue Dec 3 12:03:37 EST 2002
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