On Sun, Sep 20, 2009 at 04:25:59PM -0700, Buzzer wrote: > On Sun, Sep 20, 2009 at 11:40:41PM +0200, Antoine Jacoutot wrote: > > > uname -a > > > OpenBSD localhost 4.5 200909202109#0 i386 > > > sysctl -n kern.version > > > OpenBSD 4.5 (200909202109) #0: Sun Sep 20 22:18:12 2009 > > > r...@localhost:/sys/arch/i386/compile/200909202109 > > > pkg_info | grep -i gimp > > > gimp-2.6.4p0 GNU Image Manipulation Program > > > gimp-lqr-plugin-0.4.0.4 seam-carving smart rescale gimp plugin > > > > > > When I run GIMP, he always display these warnings: > > > > > > Traceback (most recent call last): > > > File "/usr/local/lib/gimp/2.0/plug-ins/python-eval.py", line 20, in > > > <module> > > > from gimpfu import * > > > File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 75, in <module> > > > import gimp > > > ImportError: could not import pygtk > > > > You are probably missing the py-gtk2 package. > pkg_info | grep -i py-gtk2 > py-gtk2-2.12.1p2 GTK+2 Python bindings > > -- > /Buzzer > >
Hey Buzzer, Have you tried testing it through the interactive console? Example: $ python >>> import pygtk If this brings up an error after the import then something may be wrong with your path settings. I hope this helps. Thanks, Ryan