GIMP-ML
GIMP-ML copied to clipboard
Fails to load on Arch Linux
It doesn’t work for me on Arch Linux with Gimp 2.10.20. After the setup routine and enabling the new path in the plug-in settings, all I can get is this output:
$ gimp
(gimp:64872): Gtk-WARNING **: 16:48:20.054: Unable to locate theme engine in module_path: "adwaita",
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
GIMP-Error: Unable to run plug-in "deepdenoise.py"
(/home/maximilian/.gimp-plugins/deepdenoise.py)
Failed to execute child process ?/home/maximilian/.gimp-plugins/deepdenoise.py? (Exec format error)
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
GIMP-Error: Unable to run plug-in "deepmatting.py"
(/home/maximilian/.gimp-plugins/deepmatting.py)
Failed to execute child process ?/home/maximilian/.gimp-plugins/deepmatting.py? (Exec format error)
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
GIMP-Error: Unable to run plug-in "faceparse.py"
(/home/maximilian/.gimp-plugins/faceparse.py)
Failed to execute child process ?/home/maximilian/.gimp-plugins/faceparse.py? (Exec format error)
GIMP-Error: Unable to run plug-in "invert.py"
(/home/maximilian/.gimp-plugins/invert.py)
Failed to execute child process ?/home/maximilian/.gimp-plugins/invert.py? (Exec format error)
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
GIMP-Error: Unable to run plug-in "monodepth.py"
(/home/maximilian/.gimp-plugins/monodepth.py)
Failed to execute child process ?/home/maximilian/.gimp-plugins/monodepth.py? (Exec format error)
GIMP-Error: Unable to run plug-in "super_resolution.py"
(/home/maximilian/.gimp-plugins/super_resolution.py)
Failed to execute child process ?/home/maximilian/.gimp-plugins/super_resolution.py? (Exec format error)
GIMP-Error: Unable to run plug-in "syncWeights.py"
(/home/maximilian/.gimp-plugins/syncWeights.py)
Failed to execute child process ?/home/maximilian/.gimp-plugins/syncWeights.py? (Exec format error)
GIMP-Error: Unable to run plug-in "update.py"
(/home/maximilian/.gimp-plugins/update.py)
Failed to execute child process ?/home/maximilian/.gimp-plugins/update.py? (Exec format error)
Installed python2-virtualenv, python-virtualenv, python-virtualenvwrapper and python2-pip and python-pip.
You are most likely missing the gimp-python package equivalent, which is needed for Python plugin support but which has been dropped from most distros after Python 2 was end-of-lifed at the start of this year.
It is still available via AUR on Arch Linux, though. Try:
yay -S python2-gimp
If that fails, you can also try my fork of GIMP-ML which has explicit Arch Linux support and tests for it included.
I can confirm installing python2-gimp fixed the same issue for me
doesn't appear in menu on Manjaro. can't build python2-gimp from AUR as
could not satisfy dependencies:
- unable to satisfy dependency 'python2-gobject2' required by pygtk
- unable to satisfy dependency 'pygtk' required by python2-gimp
when gimp3 is released all these issues will be fixed.
right now python2 is deprecated https://www.python.org/doc/sunset-python-2/ and it does not exist in archlinux packages