Python on the Power PC

mhykes at gmail.com mhykes at gmail.com
Sat Oct 15 18:39:04 EDT 2005


I'm using the same distribution (or at least that is what I started
with). Try using the following sitecustomize.py file:

###### sitecustomize.py ######
import sys
syspath = sys.path
libpath = '\\Program Files\\Python\\Lib'
syspath.append(libpath+'\\lib-tk')
sys.path = none
sys.path = syspath
##############################

You will need to extract the python23.zip into \Program
Files\Python\Lib, then add the sitecustomize.py file to the same
directory.  Then Python should be able to find the Tkinter module that
it is complaining about.

- Matt




More information about the Python-list mailing list