0

I am running RedHat 4.1.2 offline and trying to get _tkinter working for Python 2.7.13. I have Tcl/tk 8.4 installed, but it doesn't seem to be working right. libtcl8.4.so is located in /usr/lib64/ and I'm not sure if that's related, but I figured I would mention it. Here is the error when I try import Tkinter.

Python terminal output

mercify
  • 33
  • 7
  • Tcl 8.4 might not be good enough to support Tkinter. However, simply installing Tcl (or having it already installed) is *definitely* not good enough. Tkinter is two more layers sitting on top of that: the `tkinter` Python code (which you have), and the `_tkinter` C library (which you don't). – Karl Knechtel Apr 29 '23 at 01:43

1 Answers1

1

Perhaps you could try a package manager such as Anaconda and install Tkinter.

This post may help.

newkid
  • 1,368
  • 1
  • 11
  • 27