Switch to full style
Ask all general Gimp related questions here
Post a reply

Python issue

Mon Dec 12, 2011 6:10 pm

GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Basic Level

List any relevant plug-ins or scripts:
Python and stuff needed to use with GIMP



So I have got python installed (thanks for your help folks) but now when I select either the console or the fog render nothing happens... any ideas what this may be?

Re: Python issue

Mon Dec 12, 2011 6:22 pm

go into your pygimp.interp file and be sure the path is correct.
C:\Program Files\GIMP-2.0\lib\gimp\2.0\interpreters open it in Notepad ++.
If you are running it with an install Gimp-2.6.11 version that path should be
Code:
python=C:\Python26\pythonw.exe
/usr/bin/python=C:\Python26\pythonw.exe
:Python:E::py::python:

Re: Python issue

Mon Dec 12, 2011 6:36 pm

Yes the path is the same as what you put.

Re: Python issue

Mon Dec 12, 2011 8:24 pm

Jamie990 wrote:Yes the path is the same as what you put.
But is there a file nalme C:\Python26\pythonw.exe on your system?

Re: Python issue

Tue Dec 13, 2011 7:57 am

Yes im sure there is, could the problem be gimp is in a folder called programfilesx86?

Re: Python issue

Tue Dec 13, 2011 9:05 am

If you are using Windows7, then it is in the correct place for Gimp and most program files, in fact, I don't think that programfilesx86 exists in any of the previous Window versions

Re: Python issue

Tue Dec 13, 2011 10:47 am

Alright then its not that, thanks :)

Re: Python issue

Tue Dec 13, 2011 11:27 am

So you have Filters>Render>Clouds>Fog
And you have Filters>Python-Fu>Python Console
But neither work?


Did you use the all in one installer for PYGTK, PYCAIRO, and PYOBJECT?
Because it doesn't work usually. If you used the all in one installer download the other package PC put together and use the 3 different installers for pygtk, pyobject, and pycairo, and install them into python26.
You should not have to re-install Gimp-2.6.11 to do this.

I am led to believe you do not have all the python files you need in the plug-ins or python26 folders.
Can you please take a screenshot of your GIMP-2.0\lib\gimp\2.0\plug-ins folder and all the contents?
Also can you give me a screenshot of your C:Python26 folder contents?

Re: Python issue

Tue Dec 13, 2011 12:32 pm

Yes they are showing up but not working.
I used the indavidual installers not the all in one installer.

Here is the screenies.
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image

Re: Python issue

Tue Dec 13, 2011 3:59 pm

Jamie990, When You go to your control panel, do you have these three plug-ins in there?
PYGTK, PYCAIRO, and PYOBJECT? When you install them one at a time, them should go into your program files so will show in control panel.

Re: Python issue

Tue Dec 13, 2011 4:30 pm

Yes I do, I seem to have a couple of older version of each that I forgot to uninstall could this be the problem?

Re: Python issue

Tue Dec 13, 2011 4:58 pm

Very well could be. Might as well try taking them out to see. hope it works.

Re: Python issue

Wed Dec 14, 2011 4:16 am

Yes take those older versions out and restart Gimp and see if that works.
Sometimes if Gimp see's multiple files of the src it's looking for it will not load any of them.

Re: Python issue

Wed Dec 14, 2011 5:52 am

Done that, and it recognises they are there now. Meaning the fog and consloe now respond but all I get from each is a plug-in crash warning. After school I am going to reinstall everything see if that works. Thanks!

Re: Python issue

Wed Dec 14, 2011 6:10 am

I think that should do it Jamie. Dupes can create a lot of problems and hopefully you should be up and running after reinstalling. Good luck.

Re: Python issue

Wed Dec 14, 2011 6:23 pm

Back to where I was at the start now, python installed fine but fog and consolde are un responsive another go tomorrow it seems...

Re: Python issue

Thu Dec 15, 2011 3:04 am

Janie please tell me the exact steps you are taking to install Python and all the modules Gimp needs to run Python-Fu.The modules are PyGTK, PyCairo, and PyObject

Thanks

Re: Python issue

Thu Dec 15, 2011 12:45 pm

Well I install python and accept all the default options, then I restart my computer. Then I do the same for the other modules install then restart accepting default options.

Re: Python issue

Fri Dec 16, 2011 12:59 am

Okay now un-install Gimp-2.6.11 and re-install it choosing customize.Select the python box and select next.
After that step, install as normal. :)
Post a reply