GIMP-ML icon indicating copy to clipboard operation
GIMP-ML copied to clipboard

Can't load gimpenv modules

Open noraef opened this issue 3 years ago • 4 comments

Hi,

I have installed GIMP-ML on Fedora 32/GIMP 2.10.20, according to the documentation (only used python2 instead of just python, as the latter is python3 under Fedora). It kinda worked in that the GIMP-ML menu now appears in the layer menu, but with never anything more than the possibility to update it, which I did, to no avail.

Looking at the console message when launching GIMP, all the pip installed modules fail to launch, throwing a message like "ImportError: No module named torch", despite everything having installed seemingly properly in the gimpenv subfolder of the gimp-plugins folder.

Did I miss something, or is it yet another unfixable python3 woe?

noraef avatar Sep 19 '20 18:09 noraef

Hi! @noraef , im unable to exhibit the GIMP-ML , which u might have faced which u mayh ave mentioned above... Would kindly like to clarify how did u manage to solve it! Thank you!

malcolm1232 avatar Dec 26 '20 07:12 malcolm1232

Hi, malcolm1232.

I just followed the manual installation instructions detailed there: https://github.com/kritiksoman/GIMP-ML/blob/master/INSTALLATION.md

It's been a few months, so I don't remember it all, but I must have first tried the installation script described there: https://github.com/kritiksoman/GIMP-ML , before trying the manual one, without much success in the end, though.

noraef avatar Dec 26 '20 13:12 noraef

Ahh... I see thank you anyways!!! (:

On Sat, 26 Dec 2020 at 9:29 PM, noraef [email protected] wrote:

Hi, malcolm1232.

I just followed the manual installation instructions detailed there: https://github.com/kritiksoman/GIMP-ML/blob/master/INSTALLATION.md

It's been a few months, so I don't remember it all, but I must have first tried the installation script described there: https://github.com/kritiksoman/GIMP-ML , before trying the manual one, without much success in the end, though.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kritiksoman/GIMP-ML/issues/25#issuecomment-751355748, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZCGIX6QEPG5F5AG6RMAA3SWXQKRANCNFSM4RTFKIUA .

malcolm1232 avatar Dec 27 '20 04:12 malcolm1232

@noraef I also had an issue with the venv not finding the packages installed by the automated script. It seemed to be because my default system Python is from Miniconda3. To force installation into the venv, I had to specify the full path to its pip like

user@linux:~/gimp-ml/gimp-plugins$ ./gimpenv/bin/pip install ...

@kritiksoman perhaps you could update your installer script to use explicit paths to the venv? Even doing the alias command doesn't seem to get around Miniconda for me. Thanks for putting this together - the super resolution is very helpful for me!

addisonklinke avatar Jan 16 '21 22:01 addisonklinke