Tinkering With Tkinter

Ben Ocean zope at thewebsons.com
Wed Nov 21 14:12:50 EST 2001


Hi;
I can't get tkinter installed. I'm running 2 different versions of python 
and I need to install it with 2.1.

[root at hermes i386]# rpm -i python2-tkinter-2.1.1-1.i386.rpm
error: failed dependencies:
         python2 = 2.1.1-1 is needed by python2-tkinter-2.1.1-1
         libtcl8.3.so   is needed by python2-tkinter-2.1.1-1
         libtk8.3.so   is needed by python2-tkinter-2.1.1-1

I've tried the -nodeps flag but that gives me a non-operational tkinter!

[root at hermes i386]# python2.1 h.py
Traceback (most recent call last):
   File "h.py", line 3, in ?
     from Tkinter import *
   File "/usr/lib/python2.1/lib-tk/Tkinter.py", line 35, in ?
     import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libtk8.3.so: cannot open shared object file: No such file or 
directory

How do I specify which python to build with when I install this rpm?
TIA,
BenO






More information about the Python-list mailing list