bauerdavid / napari-bbox

BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Error when loading the module #9

Closed etasnadi closed 2 months ago

etasnadi commented 11 months ago

Describe the bug Import error when using the stuff (at least when using napari version 0.4.18)

To Reproduce

git clone napari git checkout v0.4.18

No usage but it might be loaded like this I guess:

from napari_bbox.boundingbox.bounding_boxes import BoundingBox

ImportError: cannot import name 'disable_with_opacity' from 'napari._qt.utils' (napari/napari/_qt/utils.py)

Expected behavior No error

Screenshots image

napari info Copy information from Help -> napari Info.

Other packages Provide the version of any other Python package, if relevant.

Additional context Add any other context about the problem here.

bauerdavid commented 2 months ago

The package was rewritten, you can import the bounding box layer like:

from napari_bbox import BoundingBoxLayer