Get error "ImportError: No module named _tkinter"

Sebastian Stelzer deadlink27 at
Thu Jan 29 19:05:31 CET 2004


I'am a beginner in Python and I have got a problem with
the TKInter module.
When I want to start e.g. pysol, I get following output:
Traceback (most recent call last):
  File "/usr/share/games/pysol/src/", line 47, in ?
    from main import main
  File "/usr/share/games/pysol/src/", line 48, in ?
    from app import Application
  File "/usr/share/games/pysol/src/", line 54, in ?
    from images import Images, SubsampledImages
  File "/usr/share/games/pysol/src/", line 47, in ?
    from pysoltk import tkversion, loadImage, copyImage, createImage
  File "/usr/share/games/pysol/src/", line 81, in ?
    exec "from " + m + " import *"
  File "<string>", line 1, in ?
  File "/usr/share/games/pysol/src/tk/", line 39, in ?
    import Tkinter
  File "/usr/local/lib/python2.3/lib-tk/", line 38, in ?
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

I'am using Suse Linux 9.0 with Python 2.3.3.
Can anybody help me?

More information about the Python-list mailing list