Hi Ondrej,

Unfortunately not completely. Now it seems to hang (like some other modules) at 
the matplotlib import:
/c/Users/landa/grass_packager/grass784/x86_64/addons/i.ann.maskrcnn/scripts/i.ann.maskrcnn.detect.py
 --html-description < /dev/null | grep -v '</body>\|</html>' > 
i.ann.maskrcnn.detect.tmp.html ; fi
Traceback (most recent call last):
  File 
"C:/Users/landa/grass_packager/grass784/x86_64/addons/i.ann.maskrcnn/scripts/i.ann.maskrcnn.detect.py",
 line 87, in <module>
    import matplotlib.pyplot as plt
  File "C:\OS3944~1\apps\Python37\lib\site-packages\matplotlib\pyplot.py", line 
2356, in <module>
    switch_backend(rcParams["backend"])
  File "C:\OS3944~1\apps\Python37\lib\site-packages\matplotlib\pyplot.py", line 
221, in switch_backend
    backend_mod = importlib.import_module(backend_name)
  File "C:\OS3944~1\apps\Python37\lib\importlib\__init__.py", line 127, in 
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File 
"C:\OS3944~1\apps\Python37\lib\site-packages\matplotlib\backends\backend_tkagg.py",
 line 1, in <module>
    from . import _backend_tk
  File 
"C:\OS3944~1\apps\Python37\lib\site-packages\matplotlib\backends\_backend_tk.py",
 line 6, in <module>
    import tkinter as tk
  File "C:\OS3944~1\apps\Python37\lib\tkinter\__init__.py", line 36, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'

But that is probably rather a build server issue?

Cheers
Stefan

From: grass-psc <grass-psc-boun...@lists.osgeo.org> On Behalf Of Ondrej Pešek
Sent: onsdag 18. november 2020 07:55
To: Allan Sims <sims.al...@gmail.com>
Cc: GRASS-PSC <grass-psc@lists.osgeo.org>
Subject: Re: [GRASS-PSC] Contribution in AddOns

Hi Allan,

st 11. 11. 2020 v 8:58 odesílatel Stefan Blumentrath 
<stefan.blumentr...@nina.no<mailto:stefan.blumentr...@nina.no>> napsal:
The reason that there are no precompiled versions (and manual) for 
i.ann.maskrcnn.detect is due to the import of skimage (see below). Using lazy 
importing for skimage should fix this…

Thanks to Stefan, this issue is solved now.
_______________________________________________
grass-psc mailing list
grass-psc@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-psc

Reply via email to