Gimp-Forum.net
Python not working in 2.10.0 Windows - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Installation and usage (https://www.gimp-forum.net/Forum-Installation-and-usage)
+---- Forum: Windows (https://www.gimp-forum.net/Forum-Windows)
+---- Thread: Python not working in 2.10.0 Windows (/Thread-Python-not-working-in-2-10-0-Windows)

Pages: 1 2 3


Python not working in 2.10.0 Windows - Someguy - 05-08-2018

I installed GIMP 2.10.0 on Windows 10. During installation, I did select the option to install Python support. But for some reason, Python support is not working at all.
I do have Python installed and can run it in a terminal window just fine. However, GIMP isn't showing the Python-Fu console or any of my Python scripts in the menus at all.

During startup, GIMP shows errors in the console for all of my Python scripts:


Code:
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\python-eval.py'
C:\Program Files\GIMP 2\bin\gimp-2.10.exe: LibGimpBase-WARNING: gimp-2.10.exe: gimp_wire_read(): error
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\python-console\python-console.py'
C:\Program Files\GIMP 2\bin\gimp-2.10.exe: LibGimpBase-WARNING: gimp-2.10.exe: gimp_wire_read(): error
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\py-slice.py'
C:\Program Files\GIMP 2\bin\gimp-2.10.exe: LibGimpBase-WARNING: gimp-2.10.exe: gimp_wire_read(): error
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\palette-to-gradient.py'
C:\Program Files\GIMP 2\bin\gimp-2.10.exe: LibGimpBase-WARNING: gimp-2.10.exe: gimp_wire_read(): error
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\palette-sort.py'
C:\Program Files\GIMP 2\bin\gimp-2.10.exe: LibGimpBase-WARNING: gimp-2.10.exe: gimp_wire_read(): error
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\palette-offset.py'
C:\Program Files\GIMP 2\bin\gimp-2.10.exe: LibGimpBase-WARNING: gimp-2.10.exe: gimp_wire_read(): error
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\histogram-export.py'
C:\Program Files\GIMP 2\bin\gimp-2.10.exe: LibGimpBase-WARNING: gimp-2.10.exe: gimp_wire_read(): error
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\gradients-save-as-css.py'
C:\Program Files\GIMP 2\bin\gimp-2.10.exe: LibGimpBase-WARNING: gimp-2.10.exe: gimp_wire_read(): error
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\foggify.py'
C:\Program Files\GIMP 2\bin\gimp-2.10.exe: LibGimpBase-WARNING: gimp-2.10.exe: gimp_wire_read(): error

...and so on. Python worked fine in GIMP 2.8, but not now. Other plugins and Script-Fu works okay, just not anything in Python.


RE: Python not working in 2.10.0 Windows - Ofnuts - 05-08-2018

Quote:I do have Python installed and can run it in a terminal window just fine

Is that the Python that came with Gimp or is it another that you installed on the machine (if so, which version)?

Have you got the menu entry Filters>Python-fu>Console?


RE: Python not working in 2.10.0 Windows - Someguy - 05-08-2018

I had version 2.7.5 of Python installed already, and the one that came with GIMP is the same. Both versions work fine in a terminal window, just not in GIMP.

No, I do not have that menu entry.


RE: Python not working in 2.10.0 Windows - Ofnuts - 05-09-2018

Have you got a file lib/gimp/2.0/interpreters/pygimp.interp in the Gimp installation tree and what are the contents?


RE: Python not working in 2.10.0 Windows - Someguy - 05-09-2018

Yeah, it says:


Code:
python=C:\Program Files\GIMP 2\Python\pythonw.exe
/usr/bin/python=C:\Program Files\GIMP 2\Python\pythonw.exe
:Python:E::py::python:



RE: Python not working in 2.10.0 Windows - Ofnuts - 05-09-2018

Still think there is a mixup between the two Python interpreters. I would uninstall the independent one (and possibly reinstall Gimp if this is not enough).

I remember getting the two Python interpreters to work on Windows, but it was a hard battle, and IIR you had to install the independent one after Gimp.


RE: Python not working in 2.10.0 Windows - Someguy - 05-09-2018

That didn't work.


RE: Python not working in 2.10.0 Windows - Ofnuts - 05-09-2018

(05-09-2018, 10:47 PM)Someguy Wrote: That didn't work.

So, you uninstalled both your Python interpreter and Gimp, rebooted Windows, then reinstalled Gimp, and it didn't work?


RE: Python not working in 2.10.0 Windows - Someguy - 05-10-2018

That's right.


RE: Python not working in 2.10.0 Windows - Ofnuts - 05-10-2018

Same problem with Gimp 2.8?