kritiksoman / GIMP-ML

AI for GNU Image Manipulation Program
https://kritiksoman.github.io/GIMP-ML-Docs/index.html
MIT License
1.39k stars 126 forks source link

Fails to load on Arch Linux #24

Open frumble opened 3 years ago

frumble commented 3 years ago

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.

valgur commented 3 years ago

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.

jentfoo commented 3 years ago

I can confirm installing python2-gimp fixed the same issue for me

taprobane99 commented 2 years ago

doesn't appear in menu on Manjaro. can't build python2-gimp from AUR as

could not satisfy dependencies:

kritiksoman commented 2 years ago

when gimp3 is released all these issues will be fixed.

CapSel commented 1 year ago

right now python2 is deprecated https://www.python.org/doc/sunset-python-2/ and it does not exist in archlinux packages