Re: meld and gtk



> I'm trying to use meld on Gentoo linux.
> But i get this error :
> $ meld
> Traceback (most recent call last):
>   File "/usr/bin/meld", line 75, in ?
>     import gtk
> ImportError: No module named gtk
> 

Hi Darth, did you sort this out? Your problem
could be caused by a stale pygtk.py file
on your pythonpath.

If "import gtk" works then try:
import pygtk
pygtk.require("2.0")
import gtk

This is the recommended way for apps to declare
which gtk version to use.

Stephen.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]