Re: [Emc-users] problem in learning Glade3 Gtk Python Tutorial

2015-05-06 Thread John Thornton
import gtkglade should be import gtk.glade note the period after gtk JT On 5/4/2015 9:15 PM, chz wrote: > Hi all, > I‘m learning Glade3 Gtk Python Tutorial which was constributed by John > Thornton(thanks for JT very much). > http://gnipsel.com/glade/index.html > At tutorial 3 an error occurred,

Re: [Emc-users] problem in learning Glade3 Gtk Python Tutorial

2015-05-05 Thread andy pugh
On 5 May 2015 at 03:15, chz wrote: > when i typed the command "python3.4 glade1.py" in shell terminal,the result > was "GTK not available". I think that you might need to sudo apt-get install glade-gtk2 But whether that will work with your OS and Python combination I am not sure. -- atp If you

Re: [Emc-users] problem in learning Glade3 Gtk Python Tutorial

2015-05-05 Thread John Thornton
After checking your code against the tutorial I see you have a typo in the import statement. JT On 5/4/2015 9:15 PM, chz wrote: > Hi all, > I‘m learning Glade3 Gtk Python Tutorial which was constributed by John > Thornton(thanks for JT very much). > http://gnipsel.com/glade/index.html > At tuto

Re: [Emc-users] problem in learning Glade3 Gtk Python Tutorial

2015-05-05 Thread John Thornton
Those tutorials were done with Python 2.7 or 2.6 I don't remember. How did you get Python 3.4 installed in Ubuntu 10.04? The error indicates you either don't have gtk or gtkglade installed which you should have both it you used the LinuxCNC LiveCD to install. JT On 5/4/2015 9:15 PM, chz wrote: