Wollte Tkinter importieren aber nun bekomme ich bei dem versuch eine Fehlermeldung.
Python 2.7
In Python 3.2. funktioniert es hingegen, wenn auch klein geschrieben.import Tkinter as uk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module>
raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the python-tk package
Die Fehlermeldung in 2.7 verstehe ich so das es nicht installiert ist, was mich stutzig macht den in Wikipedia steht das esPython 3.2 (r32:88445, Mar 25 2011, 19:28:28)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
+ direkt bei Python dabei, somit auf allen Plattformen verfügbar