[Tutor] A few very basic questions

Alan Gauld alan.gauld at btinternet.com
Tue May 26 09:41:46 CEST 2009


"M Tramp" <mysterytramp at yahoo.com> wrote

> You need both pygtk and gtk.
> The former uses the latter.
> 
> Yes. It is. I went back and installed more. 

> Still I get the error: "No module named gtk"
> 
> So I'm back to -- or nearly so -- my original question. 
> Where on my hard drive should these libraries reside?


> I'm suspecting this is a path problem within Eclipse, but the
> project's properties have paths to all the prime suspects.

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.

Can you post the actual error text? If it is saying no 
module gtk that suggests to me  the fault lies in your pygtk 
installation rather than in GTK itself. How/Where did you
install pygtk?

Alan G.



More information about the Tutor mailing list