Python and Gimp
#82
Posted 31 March 2009 - 04:43 AM
Originally, I had them set to C:\Documents and Settings\Anianna\gimp-2.6\brushes. After that gave me an error, I opened up C: and followed the pathing, which no longer shows "Documents and Settings" in VISTA, so I changed it to follow the exact pathing I followed from C:, which was C:\Users\Anianna\gimp-2.6\brushes. That gave me the same error, so I attempted C:\Documents and Settings\Users\Anianna\gimp-2.6\brushes and still got the same error. I'm not sure what I'm doing wrong.
#83
Posted 31 March 2009 - 11:56 AM
I will point out that the pathing on my VISTA machine is "Users" rather than "Documents and Settings". Dirty Eddie, could that be your problem?
I used Python 2.6.1, version 2.6 of each of the binaries, and the same version of the GTK+ Runtime that PhotoComix listed in the Read Me. It works beautifully with GIMP 2.6.6 and I am a very happy camper.
Thanks all and thanks PhotoComix for posting all the bits and pieces together to make things easier. Good stuff.
#84
Posted 31 March 2009 - 12:09 PM
Dirty Eddie said:
[Brush Manager]
useManager = yes
gimpPath = C:\Program Files\GIMP-2.0\share\gimp\2.0\brushes
userPath = C:\Gimp Brush Palette\Brushes
extensions = .gbr,.vbr,.gih,.abr,
installedOptions =
Here is my gurm.py command line :
GURMINI = "C:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins\gurm.ini"
That should be correct as I followed the read me for installing python and gimp to the letter as stated in this thread. Maybe I am missing something?
When I try to start the gurm console, it says that the .ini file cannot be found. It is in the plug in folder as stated in the read me's.
Did GIMP install like that itself or did you move the files? Usually, your brushes and all that aren't in the Program Files area, but in the Documents and Settings or Users area.
Typically, it would like like C:\Documents and Settings\Dirty Eddie\gimp-2.6\brushes or C:\Users\Dirty Eddie\gimp-2.6\brushes. I don't know if moving it to the Program Files area would affect it, but you might try a standard installation and see if you can get it to work that way.
#85
Posted 01 April 2009 - 03:30 AM
You have to put the dot in front of Gimp 2.6 in the path also? Am I reading that right?
Thanks again.
#86
Posted 01 April 2009 - 03:40 AM
C:\Program Files\GIMP-2.0\share\gimp\2.0\brushes
It's not listed under admin or user, so I am just going to assume that the path is correct.
According to your results, I need to put a dot in front of GIMP-2.0.
#87
Posted 01 April 2009 - 12:25 PM
My thoughts on your unusual pathing would be that it may have something to do with it not working properly, though I wouldn't know enough about it to know why. If I were in your place, I would uninstall and reinstall everything, allowing the automatic pathing. If you can get it working with the auto pathing, you could then move your files and change the file to reflect it if you wanted to continue to keep your folders in the Program Files. If they continued working, then everything is fine, but if they stop working, you know it has something to do with having those folders in that location. Honestly, I don't know what else to tell you other than to look very closely at the file name and see if you have that dot in there or if it just doesn't exactly match what you have entered.
#88
Posted 21 April 2009 - 04:18 AM
can anyone help im using gimp 2,6.6 with vista and i cant get the .py plug-ins to work
#89
Posted 21 April 2009 - 04:22 AM
Anyway in Windows i prefer use Gimp-2.6.5 then 2.6.6 , that for me is too buggy
however that bugs should not interfere with the possibility to add python plugins
#90
Posted 21 April 2009 - 01:56 PM
Actually I didn't find this out, L W warp9pnt9 did:
http://sourceforge.net/forum/forum.php? ... _id=412898
It looks for PythonDir\site-packages\gtk-2.0 - which if you installed pygtk from an egg doesn't exist (instead I have a file pygtk-x.yy.z-py2.5-win32.egg
I tested creating the directory "gtk-2.0" in the site-packages folder and the option was available in the gimp installer. I installed and pyfu works ok.
So 1. - There is now a workaround.
2. - How do we get the pygtk detection fixed in the installer (and hopefully stop many more screams of anguish in this thread?)
Update - filed a bug:
http://bugzilla.gnom...g.cgi?id=579726
#91
Posted 21 July 2009 - 01:40 AM
stuaxo said:
Actually I didn't find this out, L W warp9pnt9 did:
http://sourceforge.net/forum/forum.php? ... _id=412898
It looks for PythonDir\site-packages\gtk-2.0 - which if you installed pygtk from an egg doesn't exist (instead I have a file pygtk-x.yy.z-py2.5-win32.egg
I tested creating the directory "gtk-2.0" in the site-packages folder and the option was available in the gimp installer. I installed and pyfu works ok.
So 1. - There is now a workaround.
2. - How do we get the pygtk detection fixed in the installer (and hopefully stop many more screams of anguish in this thread?)
Update - filed a bug:
http://bugzilla.gnom...g.cgi?id=579726
It seems that a version of this bug is affecting the install of GIMP 2.6.6 on WinXP sp3.
I have all the prerequisites installed and even have the directory gtk-2.0 created but still no checkbox for Python-Fu.
Is there a workaround for this?
:-)
#92
Posted 21 July 2009 - 10:01 AM
Quote
i can't follow here.... what means "install from a egg"? :?:
I installed just running the installer and everything works
Quote
I can imagine any good reason on Windows to use the Gimp 2.6.6 installer, since that build has obviously something wrong.
2.6.5 has exactly same features but without the added bugs and oddities of the win version of 2.6.6
Not sure if just use 2.6.5 will solve but solved for me:
On XP SP3 i had no problem to install Gimp python with Gimp 2.6.5.
the library i used are the same included in the Python pack (link in the first message)
( About the content of the pack: May be well newer version of some libraries including pygtk , GTK installer was indicated as superfluous...
but since in practice that combination works i let as it was )
#93
Posted 21 July 2009 - 11:14 AM
Quote
2.6.5 has exactly same features but without the added bugs and oddities of the win version of 2.6.6
Not sure if just use 2.6.5 will solve but solved for me:
On XP SP3 i had no problem to install Gimp python with Gimp 2.6.5.
the library i used are the same included in the Python pack (link in the first message)
( About the content of the pack: May be well newer version of some libraries including pygtk , GTK installer was indicated as superfluous...
but since in practice that combination works i let as it was )
I experience the same bug with 2.6.5 as I do with 2.6.6
Maybe GIMP installer needs to include all dependencies instead of this searching around the Internet for solutions!
#94
Posted 21 July 2009 - 11:37 AM
Quote
It does, except for Python that is seen as optional
All dependency needed to install Gimp with Python (including Python ) are here
http://photocomix-resources.deviantart. ... r-74889017
With Gimp 2.6 you may use a newer version of Python of that i included (but NOT the last) and the GTK installer is now superfluous .
But anyway is all there
And again ....what is the "egg" :!:
Quote
PS HERE http://www.gimpusers.com/tutorials/inst ... ndows.html a recent tut on installing Gimp-Python on windows
Maybe a tut is not strictly needed but if you do not like use what i packed or google around hunting for libraries, that may help.
(but the tutorial don't deal with "eggs" as far i can see )
#95
Posted 21 July 2009 - 12:03 PM
Quote
1 what is "same bug" exactly: the Gimp installer did not show Python in customize option?
Is that ?
Are sure that bugzilla report is related to your problem :?:
2 you used this http://photocomix-resources.deviantart. ... r-74889017 pack or you found/installed more recent libraries on the NET? :?:
3 what version of python you have installed :?:
#96
Posted 21 July 2009 - 07:13 PM
I installed the PyGTK files (for Python 2.6) as downloaded from here: http://www.pygtk.org/downloads.html
When I install GIMP 2.6.5 & 2.6.6, I click on the "Customize" button. The checkbox for the install of the Python Extension is "grayed out" and I am not able to check it. Thus, Python-Fu does not get installed during the GIMP installation.
It seems that the GIMP installer is not recognizing my installed dependencies. Which one it is not recognizing I do not know.
:-)
#97
Posted 24 July 2009 - 11:42 AM
Python http://www.python.or...ython-2.6.1.msi
PyCairo http://ftp.gnome.org/pub/GNOME/binaries ... -py2.6.exe
PyGobject http://ftp.gnome.org/pub/GNOME/binaries ... -py2.6.exe
PyGTK http://ftp.gnome.org/pub/GNOME/binaries ... -py2.6.exe
This instead may be superfluous
GTK+ Runtime Environment http://garr.dl.sourceforge.net/sourcefo ... in32-1.exe
#98
Posted 02 August 2009 - 02:15 PM
I had the problem with the Python checkbox being greyed out in GIMP under XP, but I found if I selected to make the installed Python apps available for all users (rather than just current logged in user), the box was no longer greyed out.
Hopefully this works for you too. Good luck.
@Photocomix - keep up the great work - your python install guide was a real help for me!
Drums
#99
Posted 29 November 2009 - 02:12 AM
gasto said:
"SystemError: new style getargs format but argument is not a tuple "
Others are working though.
On the Cubic Patterns Py plug-in, all you need to do is remove the [ ] from the ([184,182,17]) on line 10 and again on line 28 ([0,0,0])
As for Random Shapes PY plug-in, when saving the file to export on the prompt, make sure its within your selected default image folder for GIMP.
I realize this post is LATE in regards to the posting date, but as they say "Better LATE than never". :)
#100
Posted 10 June 2010 - 09:55 AM
I am currently using blender 2.5 alpha. It uses Python 3.0 if I am not mistaken. I did not install python, but it seems some python libraries were installed with blender?
Anyway, I made the switch from PS to Gimp and now I want to use some of the plug-ins, but for this I need to install python 2.5.2 right? Won't this interfere with my blender installation?
Oh yeah, I am on Windows 7. And the plug-in I am most interested in using is GURM.

Help















