Re: yum installs Tkinter in a way visible to only one python installation



Rahul <nospam@xxxxxxxxxxxxxx> writes:

My RHEL yum package-manager comes with Python-2.4.3. We also have a
seperate Python-2.4.4 Installation on our box.

When I added Tkinter using 'yum install tkinter' it seems to have added it
in a manner that it is exclusively visible to Python-2.4.3. I cannot import
Tkinter from Python-2.4.4.

What's the best way to work around this?

The best way is uninstall 2.4.4.

If you install one thing outside package management, don't expect
other things to work with it.

You probably have something like this on your system:

/usr/lib/python2.5/lib-dynload/_tkinter.so

You could find the equivalent place in /usr/local (if thats where
you have 2.4.4) and create a soft link.
No guarantee that it will work though.
.



Relevant Pages

  • Re: Run wxPython app remotely under XWindows
    ... and Tkinter for that matter is compiled to run under Aqua as ... To get Tkinter to work under X11 you simply need to ... configure and install a version of python for the X11 environment. ... Instead of compiling my own, ...
    (comp.lang.python)
  • Re: Fedora 9 dependency issues
    ... a Fedora 9 x86_64 system. ... I'm trying to install tkinter and I'm running the command "sudo yum install tkinter" yum proceeds to run, listing the packages that need to be included to satisfy the dependencies. ...
    (Fedora)
  • Re: Fedora 9 dependency issues
    ... a Fedora 9 x86_64 system. ... I'm trying to install tkinter and I'm running the command "sudo yum install tkinter" yum proceeds to run, listing the packages that need to be included to satisfy the dependencies. ...
    (Fedora)
  • Re: Found a very nice, small, cross-platform GUI toolkit for Python.
    ... OceanGUI has a lot of large decencies (Pygame, SDL libraries, ... etc.) to install on my system to just to get a GUI thats no ... better loking than TkInter which comes pre-installed ... and it's also written in Python. ...
    (comp.lang.python)
  • Re: Thank you, Tkinter. (easy to use)
    ... Tkinter is a great GUI toolkit, for what it lacks in prettiness it ... There is the Python Image Library, but when I tried to install ...
    (comp.lang.python)