REPOST: Re: Problems with tkinter in python 2.2

Georg Lohrer GeorgLohrer at gmx.de
Thu Dec 27 05:23:52 EST 2001


On 26 Dec 2001 10:56:09 -0800, kmilo0 at hotmail.com (Kmilo) wrote:

[snipped]

>Somebody know what i have to do for run, tkinter.py?

I got this error as I've built Python from source and forgotten to
uncomment the lines below (already uncommented in this sample):

# The _tkinter module.
#
# The command for _tkinter is long and site specific.  Please
# uncomment and/or edit those parts as indicated.  If you don't have a
# specific extension (e.g. Tix or BLT), leave the corresponding line
# commented out.  (Leave the trailing backslashes in!  If you
# experience strange errors, you may want to join all uncommented
# lines and remove the backslashes -- the backslash interpretation is
# done by the shell's "read" command and it may not be implemented on
# every system.

# *** Always uncomment this (leave the leading underscore in!):
_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
# *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
-L/usr/lib \
# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
-I/usr/include \
# *** Uncomment and edit to reflect where your X11 header files are:
-I/usr/X11R6/include \

etc.

So, your rpm's seems to have been built without tkinter support. There
might be probably another rpm with activated tkinter.

Another fault could be, that your LD_LIBRARY_PATH does not point to
all necessary lib-paths or PYTHONPATH was not set accordingly.

Ciao, Georg

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool1-nwblwi.newsops.execpc.com!newsfeeds.sol.net!priapus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed.direct.ca!look.ca!nntp.kreonet.re.kr!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: Georg Lohrer <GeorgLohrer at gmx.de>
Newsgroups: comp.lang.python
Subject: cmsg cancel <ketl2usraf7nk1ftp3h82gtkfssgh9c9eg at 4ax.com>
Control: cancel <ketl2usraf7nk1ftp3h82gtkfssgh9c9eg at 4ax.com>
Date: Mon, 31 Dec 2001 03:14:54 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.ketl2usraf7nk1ftp3h82gtkfssgh9c9eg at 4ax.com>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009775824 27193 211.57.49.2 (31 Dec 2001 05:17:04 GMT)
X-Complaints-To: usenet at news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 05:17:04 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.



More information about the Python-list mailing list