I just built GIMP on Mac OS X 10.4.11 from the latest svn sources but when I
launch it I get these errors at startup (however, GIMP seems to run
regardless):
cube15:/Volumes/datacube/svn/gimp/trunk ep$ This is a development version of
GIMP. Debug messages may appear here.
Traceback (most recent call last):
File "/opt/gimp/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in ?
from gimpfu import *
File "/opt/gimp/lib/gimp/2.0/python/gimpfu.py", line 74, in ?
import gimp
ImportError: could not import pygtk
(gimp-2.5:13288): LibGimpBase-WARNING **: gimp-2.5: gimp_wire_read(): error
Traceback (most recent call last):
File "/opt/gimp/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line 17, in
?
from gimpfu import *
File "/opt/gimp/lib/gimp/2.0/python/gimpfu.py", line 74, in ?
import gimp
ImportError: could not import pygtk
(gimp-2.5:13288): LibGimpBase-WARNING **: gimp-2.5: gimp_wire_read(): error
Identical errors also for files:
"/opt/gimp/lib/gimp/2.0/plug-ins/palette-sort.py", line 17
"/opt/gimp/lib/gimp/2.0/plug-ins/palette-offset.py", line 17
"/opt/gimp/lib/gimp/2.0/plug-ins/happy-valley-relief.py", line 20
"/opt/gimp/lib/gimp/2.0/plug-ins/gimpcons.py", line 20
"/opt/gimp/lib/gimp/2.0/plug-ins/foggify.py", line 20
"/opt/gimp/lib/gimp/2.0/plug-ins/colorxhtml.py", line 25
To build GIMP I used the instructions at
http://wiki.gimp.org/gimp/HowToCompileGimp/MacOSX
with:
$ ./autogen.sh --without-mng --without-alsa --disable-alsatest --without-x
--with-libtiff LDFLAGS="-L/opt/gtk/lib -L/opt/local/lib -L/usr/local/lib"
CPPFLAGS="-I/opt/gtk/include -I/opt/local/include -I/usr/local/include"
--prefix=/opt/gimp
Any idea on how to fix those errors?
Thx
Ettore
Are you exporting the PYTHONPATH envrionment variable prior to launching
GIMP, just like it is written in the above article? On my computer this
is how I could fix these errors