Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: [HowTo] python plugins and GIMP with Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Guild Journeyer Sagenlicht's Avatar
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    249

    Tutorial [HowTo] python plugins and GIMP with Windows

    Hmm as it seems that some people got some problems to use python plugins with GIMP with windows I'll provide a short HowTo.

    What do you need?
    - Download and install Python. GIMP doesnt work with Python 3 nor with the latest Python 2 release (2.7). You need to download Python 2.6.6 *Link to source* - grab the MSI Windows Installer you need - either 32 or 64 bit version.

    - Now you need install the PyGTK package. There is a complete all-in-one installer avaible at the project page. *Link to source* - grab the pygtk-all-in-one-2.24.0.win32-py2.6.msi file.

    Afterwards reinstall GIMP and be sure to do either a full installation or a custom installation with activated Python elements. If the GIMP installer did grey out the python elements at least one of the above programs aint correctly installed.

    Now GIMP is ready to use python plugins. In order to use them you just have to copy them into your plugin folder, which is normally located at C:\Documents and Settings\<Your windows user>\gimp-2.4\plug-ins. If it aint there you can check in GIMP where your custom plugins folder is located at.

    I hope this short HowTo helps

    EDIT: I updated the links.
    Last edited by Sagenlicht; 08-04-2011 at 02:25 PM. Reason: Updated Links
    My Map Challenge Entries

    I use GIMP for all my maps.

    GIMP scripts and plug-ins overview


    Everything I post on this site uses the Creative Common Attribution-Noncommercial-Share Alike license. Only exception to this are any pyhton scripts which use the GPL.

    If you are using any of my posted stuff just use your rep stick on me

    Should you be interested in using anything I posted on commercial purpose drop me a pm.

  2. #2
    Guild Artisan Facebook Connected
    Join Date
    May 2008
    Location
    Atlanta, Georgia, United States
    Posts
    928

    Post

    A quick question... what will reinstalling GIMP do to my existing Script-fu plugins and custom brushes? Will I need to reinstall them as well?
    I think, therefore I am a nerd.
    Cogito, ergo sum nerdem.

    Check out my blog: "The Undiscovered Author"
    It's the story of a writer... follow me in my simple quest to get published, and share your own writing stories, adventures and writerly tips.

    Pimping my worldmap here. Still WIP... long way to go, but I'm pretty proud of what I've done so far...

  3. #3
    Guild Journeyer Sagenlicht's Avatar
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    249

    Post

    As long as they are stored in your custom folders (in documents and settings if you use the default settings) you dont have to worry about them.
    My Map Challenge Entries

    I use GIMP for all my maps.

    GIMP scripts and plug-ins overview


    Everything I post on this site uses the Creative Common Attribution-Noncommercial-Share Alike license. Only exception to this are any pyhton scripts which use the GPL.

    If you are using any of my posted stuff just use your rep stick on me

    Should you be interested in using anything I posted on commercial purpose drop me a pm.

  4. #4
    Guild Apprentice
    Join Date
    Jul 2008
    Posts
    34

    Post

    I installed python from the above link - it's version 2.6. pyGTK+, pyCairo and pyGobthingy seem to need Python 2.5. Not sure at the moment whether to uninstall 2.6 and install 2.5 or wait for updates to the three pys.

    GIMP 2.6 is out so i'll have a play with that before deciding

  5. #5
    Guild Journeyer Sagenlicht's Avatar
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    249

    Post

    Hi Stuamn,

    yep Python recently released 2.6 though if you scroll down a bit you'll find the link to 2.5.2 which is the version I would recommend at the moment.

    Python 2.6 doesnt offer anything you need for GIMP, in fact the 2.6 release just prepares Python for its next major release (3.0). So if you plan to use python mainly for GIMP I would recommend to downgrade to version 2.5.2.
    My Map Challenge Entries

    I use GIMP for all my maps.

    GIMP scripts and plug-ins overview


    Everything I post on this site uses the Creative Common Attribution-Noncommercial-Share Alike license. Only exception to this are any pyhton scripts which use the GPL.

    If you are using any of my posted stuff just use your rep stick on me

    Should you be interested in using anything I posted on commercial purpose drop me a pm.

  6. #6
    Guild Apprentice
    Join Date
    Jul 2008
    Posts
    34

    Post

    Thanks, It works now. I uninstalled everything before starting. Gimp, GTK and python 2.6. Then I installed as per your instructions. I would rep you but it seems that I have already done so recently. I'll spread some about and rep you next time I see your name

    stuamn

  7. #7

    Default

    Also, python scripts actually are plugins, and have to be in the plugins folder, not the scripts folder (cause script-fu/tiny-fu is actually a plugin... Confusing, I know)...

    -Rob A>

  8. #8
    Guild Journeyer Vandy's Avatar
    Join Date
    Dec 2008
    Location
    Durham, NC USA
    Posts
    165

    Question Question concerning Inkscape Install and Python

    Hello, All.

    I have a general question for you. I noticed when I installed Inkscape that Python files were installed as well.

    Is there anything I need to be concerned with before installing the Python files needed for GIMP or are the Python files installed with Inkscape okay or, what?

    Thanks.

    Regards,

    Gary
    In the end you will see, you is you and me is me.
    © May 29, 1980

  9. #9
    Guild Artisan Facebook Connected
    Join Date
    May 2008
    Location
    Atlanta, Georgia, United States
    Posts
    928

    Post

    Quote Originally Posted by jfrazierjr View Post
    The most important thing I found was you have to reboot after installing Python before you install anything else. Worst case scenario, install something without errors in the order listed and reboot before trying the next thing.
    I did indeed restart after installing Python. The exact order I took was:

    1) Uninstall GIMP
    2) Download all the Python and GTK+ and Py-stuff
    3) Install Python 2.5.4
    4) Restart
    5) Install GTK+
    6) Install other Py-stuff
    7) Make sure that shiny new scripts are all all in the script folder of GIMP
    Reinstall (latest version of) GIMP [note: I had been running GIMP 2.4, upgraded to 2.6.5; I don't think I like that you can't minimize the tools and layers/palette windows anymore... sometimes I want to access my desktop, you know? I think I do like that it automatically opens a window for an image frame with all the menus centralized]

    Quote Originally Posted by RobA View Post
    Also, python scripts actually are plugins, and have to be in the plugins folder, not the scripts folder (cause script-fu/tiny-fu is actually a plugin... Confusing, I know)...

    -Rob A>
    Ahh. Somewhere along the way I had gotten the impression that Python scripts belonged in the script folder along with script-fu scripts. I'll change them around tonight and check and see if that solves the problem, thanks!


    Note: It changes my 8parenthesis into a bespectacled smiley; I'm just trying to enumerate, not to be cool
    Last edited by Karro; 02-24-2009 at 11:23 AM.
    I think, therefore I am a nerd.
    Cogito, ergo sum nerdem.

    Check out my blog: "The Undiscovered Author"
    It's the story of a writer... follow me in my simple quest to get published, and share your own writing stories, adventures and writerly tips.

    Pimping my worldmap here. Still WIP... long way to go, but I'm pretty proud of what I've done so far...

  10. #10
    Community Leader jfrazierjr's Avatar
    Join Date
    Oct 2007
    Location
    Apex, NC USA
    Posts
    3,057

    Post

    Quote Originally Posted by Karro View Post
    I did indeed restart after installing Python. The exact order I took was:

    1) Uninstall GIMP
    2) Download all the Python and GTK+ and Py-stuff
    3) Install Python 2.5.4
    4) Restart
    5) Install GTK+
    6) Install other Py-stuff
    7) Make sure that shiny new scripts are all all in the script folder of GIMP
    Reinstall (latest version of) GIMP [note: I had been running GIMP 2.4, upgraded to 2.6.5; I don't think I like that you can't minimize the tools and layers/palette windows anymore... sometimes I want to access my desktop, you know? I think I do like that it automatically opens a window for an image frame with all the menus centralized]



    Ahh. Somewhere along the way I had gotten the impression that Python scripts belonged in the script folder along with script-fu scripts. I'll change them around tonight and check and see if that solves the problem, thanks!


    Note: It changes my 8parenthesis into a bespectacled smiley; I'm just trying to enumerate, not to be cool
    Install GTK, reboot.
    Install all the other python stuff, reboot
    Install GIMP and check the python option during the install.

    I had trouble with this also, and originally blamed it on being Vista 64 bit after getting my new computer. For a few weeks, I was just bummed. I then went back to it and did several reboots between and got it working.
    My Finished Maps
    Works in Progress(or abandoned tests)
    My Tutorials:
    Explanation of Layer Masks in GIMP
    How to create ISO Mountains in GIMP/PS using the Smudge tool
    ----------------------------------------------------------
    Unless otherwise stated by me in the post, all work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •