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

Getting exec format error for all plugins #31

Open michael-conrad opened 3 years ago

michael-conrad commented 3 years ago

Installed the plugin per instructions. Ran the install script. PIP installed packages w/o any issues.

~/git/GIMP-ML/gimp-plugins$ gimp
GIMP-Error: Unable to run plug-in "update.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/update.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/update.py” (Exec format error)

GIMP-Error: Unable to run plug-in "syncWeights.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/syncWeights.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/syncWeights.py” (Exec format error)

GIMP-Error: Unable to run plug-in "super_resolution.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/super_resolution.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/super_resolution.py” (Exec format error)

GIMP-Error: Unable to run plug-in "semseg.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/semseg.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/semseg.py” (Exec format error)

GIMP-Error: Unable to run plug-in "monodepth.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/monodepth.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/monodepth.py” (Exec format error)

GIMP-Error: Unable to run plug-in "kmeans.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/kmeans.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/kmeans.py” (Exec format error)

GIMP-Error: Unable to run plug-in "invert.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/invert.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/invert.py” (Exec format error)

GIMP-Error: Unable to run plug-in "interpolateframes.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/interpolateframes.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/interpolateframes.py” (Exec format error)

gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
GIMP-Error: Unable to run plug-in "faceparse.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/faceparse.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/faceparse.py” (Exec format error)

GIMP-Error: Unable to run plug-in "facegen.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/facegen.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/facegen.py” (Exec format error)

GIMP-Error: Unable to run plug-in "enlighten.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/enlighten.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/enlighten.py” (Exec format error)

GIMP-Error: Unable to run plug-in "deepmatting.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/deepmatting.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/deepmatting.py” (Exec format error)

GIMP-Error: Unable to run plug-in "deepdenoise.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/deepdenoise.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/deepdenoise.py” (Exec format error)

gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
GIMP-Error: Unable to run plug-in "deepcolor.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/deepcolor.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/deepcolor.py” (Exec format error)

GIMP-Error: Unable to run plug-in "deblur.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/deblur.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/deblur.py” (Exec format error)

GIMP-Error: Unable to run plug-in "colorpalette.py"
(/home/muksihs/git/GIMP-ML/gimp-plugins/colorpalette.py)

Failed to execute child process “/home/muksihs/git/GIMP-ML/gimp-plugins/colorpalette.py” (Exec format error)
00xBAD commented 3 years ago

Ok solved the "arcane" on my own... GIMP-ML and Gimp uses Python2 but InstallGimpML.sh assumes the command python2 get-pip.py works... instead it not works... The problem here, Ubuntu and some distro dropped support for pip2 because is almost dead and other reasons..

The workaround for now (and for me) is:

Hope this works! anyway GIMP-ML should be ported to python3 but i think is a lot of work for the devs...

michael-conrad commented 3 years ago

Hope this works! anyway GIMP-ML should be ported to python3 but i think is a lot of work for the devs...

Tried this... still getting "exec format error"...

buttha commented 3 years ago

in debian 10 solved with

sudo apt install gimp-python