Runtime error
Closed this issue · 2 comments
jo-mueller commented
Describe the bug
I tried to install the plugin in Napari and got the following runtime error thrown:
File ~\Anaconda3\envs\napari-clusters\lib\site-packages\napari_nd_annotator\__init__.py:4, in <module>
2 __version__ = "0.0.5"
----> 4 from ._widgets import AnnotatorWidget, InterpolationWidget, ListWidgetBB
File ~\Anaconda3\envs\napari-clusters\lib\site-packages\napari_nd_annotator\_widgets\__init__.py:1, in <module>
----> 1 from .interpolation_widget import InterpolationWidget
2 from .object_list import ListWidgetBB
File ~\Anaconda3\envs\napari-clusters\lib\site-packages\napari_nd_annotator\_widgets\interpolation_widget.py:2, in <module>
1 import numpy as np
----> 2 from cv2 import cv2
3 from napari import Viewer
ImportError: Bindings generation error. Submodule name should always start with a parent module name. Parent name: cv2.cv2. Submodule name: cv2
RuntimeError: Failed to import command at 'napari_nd_annotator:AnnotatorWidget': Bindings generation error. Submodule name should always start with a parent module name. Parent name: cv2.cv2. Submodule name: cv2
To Reproduce
Install the nd-annotator through pip and open the plugin from Napari
Screenshots
If applicable, add screenshots to help explain your problem.
Versions(please complete the following information):
- OS: Windows 10
- Napari: Tried 0.4.15 and 0.4.16
- napari-nd-annotator: 0.0.5
- opencv: 4.6.0
bauerdavid commented
resolved in #19
jo-mueller commented
Can confirm, works