[Tutor] Re: Configuration of Tk

andy surany mongo57a@comcast.net
Thu Nov 7 23:31:02 2002


Fixed. Corrupted python distribution - not Tk. Sorry to bother all.


-----Original Message-----
From: andy surany <mongo57a@comcast.net>
To: tutor@python.org <tutor@python.org>
Date: Thursday, November 07, 2002 4:38 PM
Subject: Configuration of Tk


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