Post Reply 

Installation of Python=Failed

Mar 28, 2014, 06:49
Post: #1
Installation of Python=Failed
Hi,

I finally decided to install python after reading a tutorial. I thought it would be easy. It was! But it didn't work.

I followed the instructions but when I rebooted and restarted Gimp, there was no python fu choice in the Filters dropdown menu. Script fu was still there but no python fu.

I reinstalled Gimp 2.6.7; then tried 2.6.12.

In my start menu, I had found two items. One was "doc module" and the other was GUI IDLE (or something like that). In my frustration, I uninstalled python, and I really don't remember.

i really want to try python, but I need more help in understanding the installation.

I am very technologically challenged.

Thank you in advance for your help.

Sincerely,
Jaye
Find all posts by this user
Quote this message in a reply
Mar 28, 2014, 09:49
Post: #2
RE: Installation of Python=Failed
Assume some version of windows if using that installation procedure and probably 32 bit since using Gimp 2.6.x

I have lots of notes from the past on installing python, and I found
..python-2.6.6.msi and pygtk-all-in-one-2.24.0.win32-py2.6.msi followed by gimp 2.6.11 did work.

python-2.6.6 is a bit tucked away but it is here: https://www.python.org/download/releases/2.6.6 Is that the installer you used?
pgtk http://ftp.gnome.org/pub/GNOME/binaries/...ygtk/2.24/ has been updated to 2.24.2 which is probably ok.

If you do not have those versions, no comment, but at least I know they work.

The procedure would be
uninstall gimp (I would uninstall all previous python as well)
install python
install pgtk

reboot for windows to pick up the python installations

Install Gimp, make sure you go for the custom installation and tick the Gimp Python Extension box as shown in that GimpUsers how-to.

Nothing wrong with Gimp 2.6.x there can be very good reasons for using it. Gimp 2.8.10 comes with python already installed and no need for:-

"Some stats that I logged. Python 2.6 installed 2284 files&folders and 527 reg entries. gtk-all-in-one 8233 files 15928 reg entries."

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Mar 28, 2014, 16:13
Post: #3
RE: Installation of Python=Failed
Thank you for your response, Kevin. I am running Windows 7, 64 bit. (Had to figure out how to even find that!)

rich2005 thank you. I used the links on the tutorial. As for Gimp, I had a lot of trouble trying to find a 2.6 version; I can't even remember where I downloaded the 2.6.7 and 2.6.12. I was afraid that you'd say that I would have to uninstall Gimp. Does that mean I would lose all the scripts and brushes that I have already installed? (The reason I tried to install python after all these months is that the tutorial said I may not have to uninstall.)

I have another question, since you brought it up. I am so used to my version of Gimp (2.6...); and I have read that many prefer it over 2.8. What are your thoughts on it?

If 2.8.10 comes with python, I wouldn't have to struggle with installation, but I might end up struggling with Gimp.

Thank you for the links. If I have uninstall Gimp, I will think on it and if anything, try it this weekend.

Again thank you, Kevin and rich2005.

Sincerely,
Jaye
Find all posts by this user
Quote this message in a reply
Mar 28, 2014, 18:32
Post: #4
RE: Installation of Python=Failed
You will need to uninstall Gimp, the python files have to be installed and windows restarted for the Gimp installer to select the python extension.

You do not lose any of your files in your Gimp profile ie. ..\Users\'yourname\.gimp-2.6 that set of folders remains.


Some tests in a Windows 7 64 bit virtual machine.
Gimp 2.6.12 is 32 bit so using python 2.6 and pygtk 32 bit versions - these install and Gimp "sees" the installations. It looks like python works but trying one of the more recent ones, layerfx.py this crashed in use. Not surprising, my bad, a closer look and it is for Gimp 2.8

Next tried Gimp 2.6.12 and Python 2.7 - no good the gimp installer does "see" the installation. The option is grayed out.

While it is possible you will be missing out on some nice Gimp 2.8 'extras'. If you do not need the better graphic tablet support in Gimp 2.6, I would advise upgrading to Gimp 2.8.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Mar 29, 2014, 18:27 (This post was last modified: Mar 29, 2014 18:41 by Jaye.)
Post: #5
RE: Installation of Python=Failed
Thank you again, rich2005. What i am understanding from your reply is that:
*Gimp 2.6 must match with python 2.6 in order to pick it up.
* I must uninstall Gimp but I will still have all of the brushes, etc. that I saved to my personal Gimp folder.
*There are some scripts that will work only on Gimp 2.8.
*You recommend that I upgrade to 2.8. (I do not use a tablet, so 2.6 is not necessary. I am just used to it! Easy is very good for me!)

A few questions... (The ones I can think of right now, anyway!)
*If I install 2.8 python will be there?
*Will I need to uninstall 2.6 in order to install 2.8? (See how challenged I am with this?) (Actually, I have a 2.8 folder but it's empty. It must have been created when I installed a script or something awhile ago. I haven't put anything in there.)


Ofnuts, if I understand correctly, there is a Gimp 2.6 version with python already built in? If so, would you mind pointing me in the right direction?

By the way, I'm not a full on graphic person. I'm just someone who tinkers around with images. I've read descriptions some of the python scripts, and that's why I am thinking of taking this plunge.

Thank you all for your help and patience.

Sincerely,
Jaye
Find all posts by this user
Quote this message in a reply
Mar 29, 2014, 20:46 (This post was last modified: Mar 29, 2014 20:47 by rich2005.)
Post: #6
RE: Installation of Python=Failed
Quote:What i am understanding from your reply is that:
*Gimp 2.6 must match with python 2.6 in order to pick it up.
It is more about finding compatible versions of python and pygtk that work with Gimp. The ones referenced work. My test found that python 2.7 did not work.

Quote:* I must uninstall Gimp but I will still have all of the brushes, etc. that I saved to my personal Gimp folder.
*There are some scripts that will work only on Gimp 2.8.
Both correct

Quote:*You recommend that I upgrade to 2.8. (I do not use a tablet, so 2.6 is not necessary. I am just used to it! Easy is very good for me!)
Since you use Win 7 64 bit, think that is the way to go. Only my opinion.

Quote:A few questions... (The ones I can think of right now, anyway!)
*If I install 2.8 python will be there?
Python is built into Gimp 2.8 no need for additional installation.

Quote:*Will I need to uninstall 2.6 in order to install 2.8? (See how challenged I am with this?) (Actually, I have a 2.8 folder but it's empty. It must have been created when I installed a script or something awhile ago. I haven't put anything in there.)
When you install Gimp 2.8 it will uninstall Gimp 2.6 if it detects an installation. It will migrate most the resources in the ./gimp-2.6 folders to a new ./gimp-2.8 but you might find some that have to be moved manually.

Quote:Ofnuts, if I understand correctly, there is a Gimp 2.6 version with python already built in? If so, would you mind pointing me in the right direction?
Ofnuts will come back on that one.
The package is in the develoment section (down at the moment). It is a combined 32/64 bit installer same as Gimp 2.8.
A quick try in a Win7 64bit VM and while it looks good, the python section is there, as far as I can tell, it does not work.

Quote:By the way, I'm not a full on graphic person. I'm just someone who tinkers around with images. I've read descriptions some of the python scripts, and that's why I am thinking of taking this plunge.


Always worth trying something new.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Mar 30, 2014, 02:33
Post: #7
RE: Installation of Python=Failed
Again, thank you both for the prompt and very thorough responses!

I am leaning towards installing Gimp 2.8.

If I run into snags, guess where I'm posting?

Have a great weekend.

Sincerely,
Jaye
Find all posts by this user
Quote this message in a reply
Mar 30, 2014, 04:59
Post: #8
RE: Installation of Python=Failed
Just my 2 cents, some benefits of 2.8 over 2.6 , If you have a modern OS, it's probably more compatible +more support unless you need it for certain graphic tablet support(pressure)?

I like the 2 sliders for the price of one. You get use to it but it is odd at first. In 2.6 "Tool options" you have one draggable slider & the line to click to a part value is kinda small.

2.8 series, the sliders are bigger & you can click to an estimated value you want if you click the top half, & fine-tune/ drag the bottom half. (as indicated by the cursor/mouse pointer)

last, the "save as..." feature does what is says, saving in Gimps' native format, while the export does the same lol (export to .jpeg or other formats) .
Visit this user's website Find all posts by this user
Quote this message in a reply
Mar 30, 2014, 08:49
Post: #9
RE: Installation of Python=Failed
(Mar 29, 2014 21:33)ofnuts Wrote:  Can't check myself for the same reason, but I think this is the one I used when I was on Windows, and $deity knows I can tell if the Python support is there or not Smile

This is the directory structure of gimp 2.6.12 32/64
http://i.imgur.com/q3mxF20.jpg
but no python-fu console
http://i.imgur.com/TSoTKRd.jpg
I did try a python script but that was a no-show.

Any ideas?

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Run Deskew plugin from Python-Fu console ramonvaldezz 12 3,201 Nov 18, 2018 21:48
Last Post: paynekj
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 848 Jul 11, 2017 07:26
Last Post: ythgilb
  Setting text markup from python script Burbly 1 846 Sep 16, 2014 12:29
Last Post: Burbly
  Python-Fu Script Not Registering image_artist 1 778 Sep 14, 2014 13:24
Last Post: image_artist
  Bashing my head - Batch Python Script nmiltner 1 879 Sep 5, 2014 00:58
Last Post: nmiltner

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS