[Tutor] A few very basic questions

M Tramp mysterytramp at yahoo.com
Tue May 26 13:37:31 CEST 2009


Alan Gauld <alan.gauld <at> btinternet.com> writes:

> I'd be surprised if its a problem with Eclipse, but that's easy 
> to prove. Just run the code outside Eclipse from the 
> Terminal app. If you get the same error then it cannot be 
> Eclipse at fault.

Same error from terminal.


> Can you post the actual error text?

Traceback (most recent call last):
  File "gramps.py", line 55, in <module>
    import gtk
ImportError: No module named gtk

> How/Where did you
> install pygtk?

via Fink Commander, from which I got this information:

status	current
name	pygtk
installed	provided
version	0.6.9-13
binary	0.6.9-13
category	gnome
summary	Placeholder for versioned pygtk packages
	
status	current
name	pygtk-py23
installed	0.6.9-1016
version	0.6.9-1016
binary	0.6.9-1016
category	gnome
summary	Modules for use of GTK with Python

mt





More information about the Tutor mailing list