RSS/Atom feed Twitter
Site is read-only, email is disabled

Gimp does not recognize that Python is installed

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Gimp does not recognize that Python is installed nexxus 04 Nov 18:13
  Gimp does not recognize that Python is installed Martijn Weisbeek 04 Nov 21:54
   Gimp does not recognize that Python is installed nexxus 04 Nov 22:12
    Gimp does not recognize that Python is installed Martijn Weisbeek 04 Nov 22:32
Gimp does not recognize that Python is installed Jernej Simon?i? 04 Nov 23:41
2009-11-04 18:13:19 UTC (about 15 years ago)
postings
2

Gimp does not recognize that Python is installed

Hi

First of all, I am completely new to both Gimp and Python.

I've installed Python and everything else that is needed for Gimp several times, but when I go to install Gimp, the Python components are always grayed out in the custom installation and therefore will not be installed.

I've followed all the instructions for installing Python, Pycairo, Pygobject, and PyGTK, and have tested Python and found it working as it should, but Gimp just does not see it on the system.

FYI, I am running Windows 7 Ultimate.

Does anyone have any ideas as to why Gimp does not recognize that Python is installed on the system?

I'd appreciate any help. Thanks.

Martijn Weisbeek
2009-11-04 21:54:54 UTC (about 15 years ago)

Gimp does not recognize that Python is installed

Don,

Have you also tried Gimp-Python Easier at http://photocomix-resources.deviantart.com/art/Gimp-Python-support-easier-74889017 ?
I know that this was made before Windows 7 was finished, but it might be worth a try.

I can remember that I also tried installing GIMP-Python (on Windows XP). At first the GIMP Windows-installer did not recognize it (option was grayed out), but in the end I was able to install it and use Python-scripts with GIMP.
However, I cannot recall what I have exactly done when it was finally recognized.
I guess I went over the different installation documents a couple of times installing all kinds of Python-components hoping it would work.

Perhaps Jernej can tell what the installer is actually looking for. It might be some registry key that can be missing or perhaps it is looking for a specific Python version.

2009-11-04 22:12:40 UTC (about 15 years ago)
postings
2

Gimp does not recognize that Python is installed

Don,

Have you also tried Gimp-Python Easier at http://photocomix-resources.deviantart.com/art/Gimp-Python-support-easier-74889017 ?
I know that this was made before Windows 7 was finished, but it might be worth a try.

I can remember that I also tried installing GIMP-Python (on Windows XP). At first the GIMP Windows-installer did not recognize it (option was grayed out), but in the end I was able to install it and use Python-scripts with GIMP.
However, I cannot recall what I have exactly done when it was finally recognized.
I guess I went over the different installation documents a couple of times installing all kinds of Python-components hoping it would work.

Perhaps Jernej can tell what the installer is actually looking for. It might be some registry key that can be missing or perhaps it is looking for a specific Python version.

Martin,

Thanks for your response, but I just got the install to work finally.

I ran a registry cleaner after my last uninstall, and this time the installation was successful.

Go Figure!

Thanks for your suggestions all the same

Don

Martijn Weisbeek
2009-11-04 22:32:33 UTC (about 15 years ago)

Gimp does not recognize that Python is installed

Don,

Thanks for your reply and good to hear that you succeeded. I would not have expected that a Registry Cleaner would do the job, but nonetheless congratulations.

Because I was curious about what registry entry the installer looks for I downloaded some NSIS-source files of the Windows-installer for GIMP.
At SourceForge I found a file with a name of gimp+gtk-install-script-20061018.zip. 2006 sounds pretty old to me, but it was the most recent I could find.

So I downloaded it and opened it and in gimp+gtk.iss I found a function called EnablePython. This function looks in the Windows registry for the key
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.4\InstallPath. In my Windows registry I could only find a 2.5 and a 2.6 for Python, but newer GIMP installers might be looking for a newer Python version in the registry.
Then it looks in the directory that is listed in the InstallPath for a sub-directory called Lib\site-packages\gtk-2.0 to check whether PyGTK is installed.
When this is found, one can install GIMP-Python.

Perhaps one could also use a registry monitor to see what exact Registry key a more recent GIMP version is checking. Or perhaps also newer installer-sources can be found online.

Jernej Simon?i?
2009-11-04 23:41:00 UTC (about 15 years ago)

Gimp does not recognize that Python is installed

On Wed, 4 Nov 2009 22:32:33 +0100, Martijn Weisbeek wrote:

Because I was curious about what registry entry the installer looks for I downloaded some NSIS-source files of the Windows-installer for GIMP.
At SourceForge I found a file with a name of gimp+gtk-install-script-20061018.zip. 2006 sounds pretty old to me, but it was the most recent I could find.

The most recent installer source is http://sourceforge.net/projects/gimp-win/files/GIMP%20%2B%20GTK%2B%20(stable%20release)/GIMP%202.6.5%20%2B%20GTK%2B%202.14.7/gimp-install-script-20090321.zip/download

And it's Inno, not NSIS - I'm not masochistic.

Perhaps one could also use a registry monitor to see what exact Registry key a more recent GIMP version is checking.

Same as the script you found, except that it looks for Python 2.5 and 2.6 (GIMP 2.6 installers support both Python versions).