bisher habe ich Python nur unter Windows genutzt. Mittlerweile habe ich auf meinem Rechner auch Linux (Suse 9.1 prof) und habe nach vielen Linux-Problemen (z.B. WLAN - endlich funktioniert das) dabei auch ein paar Startschwierigkeiten mit Python.
Wenn ich versuche, IDLE zu starten, bekomme ich folgende Fehlermeldung:
Code: Alles auswählen
** IDLE can't import Tkinter. Your Python may not be configured for Tk. **
In welchem Verzeichnis muss Python eigentlich installiert werden? Bei sieht es in /usr/bin/ so aus:
Code: Alles auswählen
-rwxr-xr-x 1 root root 60 2004-04-07 08:27 pyalacarte
-rwxr-xr-x 1 root root 59 2004-04-07 08:27 pyalamode
-rwxr-xr-x 1 root root 87 2004-04-06 04:54 pychecker
-rwxr-xr-x 1 root root 57 2004-04-07 08:27 pycrust
-rwxr-xr-x 1 root root 44 2004-04-06 03:49 pydoc
-rwxr-xr-x 1 root root 175 2004-04-07 08:57 pygtk-codegen-1.2
-rwxr-xr-x 1 root root 174 2004-04-07 08:57 pygtk-codegen-2.0
-rwxr-xr-x 1 root root 100960 2004-04-07 07:28 pylupdate
-rwxr-xr-x 1 root root 57 2004-04-07 08:27 pyshell
lrwxrwxrwx 1 root root 9 2004-10-30 22:44 python -> python2.3
-rwxr-xr-x 1 root root 5796 2004-04-06 03:49 python2.3
-rwxr-xr-x 1 root root 320737 2004-04-07 07:28 pyuic
-rwxr-xr-x 1 root root 56 2004-04-07 08:27 pywrap
Code: Alles auswählen
-rwxr-xr-x 1 root root 96 2004-11-21 19:38 idle
-rwxr-xr-x 1 root root 81 2004-11-21 19:38 pydoc
-rwxr-xr-x 2 root root 3278191 2004-11-21 19:38 python
-rwxr-xr-x 2 root root 3278191 2004-11-21 19:38 python2.4
-rwxr-xr-x 1 root root 18017 2004-11-21 19:38 smtpd.py
Stephan