10-08-2023, 11:17 AM
Look like you are trying to run in Python v3 a plugin written for Python v2.
Gimp python plugins must be run with Python v2, and Python v2 (and is support for Gimp) is being removed from major distros (Ubuntu, in particular), since Python v2 is no longer supported.
There are ways around this, see for instance https://www.gimp-forum.net/Thread-Heal-S...1#pid18351
Note that in your particular case on your system the python command elicits Python v3 (which is why the plugin is run with the wrong Python version) and Gimp (and the plugin authors because the shebang says: #!/usr/bin/env python expects it to run Python v2. This can possibly be tweaked if you want to keep python as Python v3.
Gimp python plugins must be run with Python v2, and Python v2 (and is support for Gimp) is being removed from major distros (Ubuntu, in particular), since Python v2 is no longer supported.
There are ways around this, see for instance https://www.gimp-forum.net/Thread-Heal-S...1#pid18351
Note that in your particular case on your system the python command elicits Python v3 (which is why the plugin is run with the wrong Python version) and Gimp (and the plugin authors because the shebang says: #!/usr/bin/env python expects it to run Python v2. This can possibly be tweaked if you want to keep python as Python v3.