Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Help to add Layer via Copy Cut
#9
Maybe time to check that your Python is functional:

  • Open a file explorer
  • Navigate to the Gimp installation directory: "C:\Program Files\GIMP 2\" (could be different on your system)
  • This directory should contain subdirectories: bin, etc, lib, share, uninst, and Python.
  • Open Python
  • You should have directories: DLLs and Lib and files python.exe, pythonw.exe, and python27.dll.
  • Double-click python.exe (and NOT pythonw.exe). You should get a window with:

Code:
Error processing line 3 of C:\Program Files\GIMP 2\Python\lib\site-packages\pygtk.pth:

  Traceback (most recent call last):
    File "C:\Program Files\GIMP 2\Python\lib\site.py", line 152, in addpackage
      exec line
    File "<string>", line 1, in <module>
  ImportError: No module named runtime

Remainder of file ignored
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
➤>

Don't worry about the error, if you get there it means the Python interpreter runs. If this is OK, navigate to
"C:\Program Files\GIMP 2\lib\gimp\2.0\interpreters" (or equivalent on your system) and open the "pygimp.interp" file in an editor. It should contain:
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:
Where the "C:\Program Files\GIMP 2\Python\pythonw.exe" in the first two lines should be a path to the pythonw.exe found above.
Reply


Messages In This Thread
Need Help to add Layer via Copy Cut - by sujatha - 12-20-2016, 04:02 AM
RE: Need Help to add Layer via Copy Cut - by Ofnuts - 12-22-2016, 12:25 AM

Forum Jump: