Problem with TCL

X

Xiao-Qin

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@sunflower bin]$ wish
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?usr/lib/tcl8#?#?#?#?lib/tcl8#?#?#?#?usr/librar#?#?#?librar#?
#?#?tcl8#?3/librar#?#?#?usr/share/tcl8#?#?#?#?#?P`#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?[xqxia@sunflower bin]$
"""

and

"""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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,947
Members
47,498
Latest member
yelene6679

Latest Threads

Top