Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLC - clustering #66

Open
ewelinacyrano opened this issue Mar 8, 2023 · 2 comments
Open

DLC - clustering #66

ewelinacyrano opened this issue Mar 8, 2023 · 2 comments

Comments

@ewelinacyrano
Copy link

Hi,
I would like to try out clustering plugin in deeplabcut napari. Unfortunately after installing it using "pip install git+https://github.com/DeepLabCutAIResidency/napari-deeplabcut.git@cluster1" command I hit errors, such as:

Anaconda3\envs\DEEPLABCUT\lib\site-packages\napari_deeplabcut_writer.py:6
ModuleNotFoundError: No module named 'napari.plugins._builtins'

Thank you in advance for your help.

@jeylau
Copy link
Contributor

jeylau commented May 10, 2023

Hi @ewelinacyrano, installing pip install napari<0.4.17 fixes it. napari changed that part of the code after that, and the clustering code hasn't been updated yet to reflect that change.

@RiSpa5
Copy link

RiSpa5 commented May 17, 2024

Hi, I think I have succesfully installed the plugin, but when I run napari I get the following error:

ERROR napari.manifest -> 'napari_deeplabcut' could not be imported: The name field in the manifest ('napari-deeplabcut') must match the package name ('napari_deeplabcut')

which is based on the following:

RuntimeError: Failed to import command at 'napari_deeplabcut._widgets:KeypointControls': The QtSvgWidgets module was not found. It is not currently implemented in PyQt5.

Although napari opens correclty (apparently), when I try to use "napari-deeplabcut: keypoints controls" I get the error reported by @ewelinacyrano. I therefore tried to pip install napari==0.4.16 as @jeylau suggested but I am now hitting this error:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
napari-deeplabcut 0.0.5.dev145+g0c7b383 requires napari==0.4.18, but you have napari 0.4.16 which is incompatible. 

Now, although napari opens up, when I run napari I get the following message:

napari.manifest -> 'napari_deeplabcut' could not be imported: The name field in the manifest ('napari-deeplabcut') must match the package name ('napari_deeplabcut')
napari.manifest -> 'napari' could not be imported: Cannot find module 'napari_builtins' declared in entrypoint: 'napari_builtins:builtins.yaml'

Then, when in napari I try to launch "napari-deeplabcut: keypoints controls" I get this new error:

RuntimeError: Failed to import command at 'napari_deeplabcut._widgets:KeypointControls': No module named 'napari_builtins'

Any idea on what is happening and what I'm missing? Thank you in advance for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants