I tried pip install motile-plugin as written in the README, cloning and installing works, except for point below.
After installation I ran int a dependency issue with lxml (see Traceback below). It is fixed by pip install lxml[html_clean], but could help to check if it can be fixed in the dependencies (it might be a problem because I installed in an older env; if it doesn't happen in a new env you can probably ignore)
It's unclear how to actually start the plugin then (probably the first thing to document ;)). I guess it's Example QWidget (motile-plugin). But this fails for me with an error: KeyError: "command 'motile-plugin.make_qwidget' not registered". It seems like the corresponding command is not yet registered in napari.yaml.
Traceback (most recent call last):
File "/home/pape/micromamba/envs/main/bin/napari", line 6, in <module>
from napari.__main__ import main
File "/home/pape/micromamba/envs/main/lib/python3.11/site-packages/napari/__main__.py", line 17, in <module>
from napari.utils.translations import trans
File "/home/pape/micromamba/envs/main/lib/python3.11/site-packages/napari/utils/__init__.py", line 8, in <module>
from napari.utils.notebook_display import nbscreenshot
File "/home/pape/micromamba/envs/main/lib/python3.11/site-packages/napari/utils/notebook_display.py", line 9, in <module>
from lxml.html.clean import Cleaner
File "/home/pape/micromamba/envs/main/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
raise ImportError(
ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
Install lxml[html_clean] or lxml_html_clean directly.
pip install motile-plugin
as written in the README, cloning and installing works, except for point below.lxml
(see Traceback below). It is fixed bypip install lxml[html_clean]
, but could help to check if it can be fixed in the dependencies (it might be a problem because I installed in an older env; if it doesn't happen in a new env you can probably ignore)Example QWidget (motile-plugin)
. But this fails for me with an error:KeyError: "command 'motile-plugin.make_qwidget' not registered"
. It seems like the corresponding command is not yet registered innapari.yaml
.