problem using py2exe

Ho-Kyeong illuza at
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 is like this:
from distutils.core import setup
import py2exe


(that is, imports tkSnack.)

In cmd, I type 'python 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, but I have no idea.

More information about the Python-list mailing list