[Gimp-user] Gimp/Python import gimp fails
Chris Mohler
cr33dog at gmail.com
Sat Dec 6 11:08:12 PST 2008
On Sun, Dec 7, 2008 at 7:44 AM, Steven W. <forums at gimpusers.com> wrote:
> Running WinXP and latest Gimp32 win install
>
> I am trying to get python working with gimp. Everything has installed fine,
> but when doing "from gimpfu import *" I get the following error:
> Unhandled exception while debugging...
> Traceback (most recent call last):
> File "C:\Program Files\GIMP\lib\gimp\2.0\python\gimpfu.py", line 74, in
> <module>
> import gimp
> ImportError: DLL load failed: The specified module could not be found.
>
> it finds gimpfu, but fails when gimpfu imports gimp.
> gimp.pyd is in the python directory where the win32 install put it, but there
> is not gimp.py or gimp.pyo (as there is for gimpfu.
>
> Any help is appreciated, I have worked on this for a couple days now and am
> getting nowhere.
Are you using the Python-Fu console (from within GIMP) or the Python
prompt? AFAIK, you can't import gimp directly into python - you need
to use python-fu to access the PDB.
Chris
More information about the Gimp-user
mailing list