gtk.glade wird nicht gefunden
Verfasst: Sonntag 4. April 2010, 00:00
Hallo, versuche mich gerade an Python 2.6 sowie Glade 3.
Beispiel aus dem Tutorial:
Using Python/Glade to create a simple GUI application
[/url]http://www.overclock.net/application-pr ... imple.html
Habe nun das Problem, das ich beim Run lauf, die Fehlermeldung:
GTK.Glade Not Availible bekomme.
[/code]
Frage : Wo finde ich gtk.glade bzw. habe ich einen Fehler bei der Installation gemacht.
Beispiel aus dem Tutorial:
Using Python/Glade to create a simple GUI application
[/url]http://www.overclock.net/application-pr ... imple.html
Habe nun das Problem, das ich beim Run lauf, die Fehlermeldung:
GTK.Glade Not Availible bekomme.
[/code]
Code: Alles auswählen
#! c:\python26
# -*- coding: UTF-8 -*-
import sys
try:
import pygtk
pygtk.require("2.0")
except:
pass
try:
import gtk
import gtk.glade
except:
print("GTK.Glade Not Availible")
sys.exit(1)