Problem with TCL

Xiao-Qin xx758 at cam.ac.uk
Tue Jan 20 17:52:49 CET 2004


Hello, Verybody,

After I swith my Redhat 9.0 to Chinese interface, I cannot run python codes 
based on Tkinter any more, the error message is list following:

"""
[xqxia at sunflower bin]$ wish
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?usr/lib/tcl8#?#?#?#?lib/tcl8#?#?#?#?usr/librar#?#?#?librar#?
#?#?tcl8#?3/librar#?#?#?usr/share/tcl8#?#?#?#?#?P`#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?[xqxia at sunflower bin]$
"""

and 

"""
>>> from Tkinter import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libtk.so.0: cannot open shared object file: No such file or 
directory
>>>
"""

Anybody know how to solve it?

Many thanks from,

Xiao-Qin



More information about the Python-list mailing list