[Tutor] Configuration of Tk

andy surany mongo57a@comcast.net
Thu Nov 7 16:37:02 2002


Hi group!

After spending the day recovering from a system crash, I thought that I
had recovered all of my files and configurations. However, executing the
statement:

from Tkinter import *

yields the following error message:

import _tkinter #If this fails your python may not be configured for Tk
/usr/lib/python2.2/lib-dynload/_tkinter.so: undefined symbol: PyUnicode
UCS2_AsUTF8String

And sure enough, the library is missing. I tried updating the Tk rpm
package (rpm -U ........) and it of course said that the package was
already installed. So should I force a reinstall (rpm -iF .....)?  Or is
there some other problem?

TIA

-Andy