problem using py2exe
illuza at eoneo.co.kr
Fri Feb 21 03:19:29 CET 2003
Can anybody give me a detailed explanation of using extension modules
in py2exe? My python code imports 'tkSnack', a extension module, and
my setup.py is like this:
from distutils.core import setup
(that is, pitch.py imports tkSnack.)
In cmd, I type 'python setup.py py2exe'. It works well, but I execute
the pitch.exe, then error happens.
Traceback (most recent call last):
File "<string>", line 14, in ?
File "<string>", line 7, in pitch
File "tkSnack.pyc", line 21, in initializeSnack
TclError: can't find package snack
I look up in python.org, but I have no idea.
More information about the Python-list