Re: Gimp/Python import gimp fails

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



On Sun, Dec 7, 2008 at 7:44 AM, Steven W. <forums@xxxxxxxxxxxxx> 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
_______________________________________________

Gimp-user@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

[Gimp Announce]     [Gimp Images]     [GIMP Development]     [Video For Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [gtk]     [KDE]     [Scanner]     [Gimp's Home]     [Gimp Docs]     [Gimp on Windows]     [Steve's Art]     [Webcams]     [Share Your Images]     [Free Online Dating]     [Photo Site]     [Script Fu]     [GIMP Software]     [GIMP Books]

Barnes&Noble.com

Add to Google Follow Gimp on Twitter