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

Invalid schema for package 'elastix-napari' #39

Open
leorrose opened this issue May 28, 2023 · 5 comments
Open

Invalid schema for package 'elastix-napari' #39

leorrose opened this issue May 28, 2023 · 5 comments

Comments

@leorrose
Copy link

leorrose commented May 28, 2023

I'm trying to run elastix-napari and getting the following error:

Invalid schema for package 'elastix-napari', please run 'npe2 validate elastix-napari' to check for manifest errors.

After running the npe2 validate elastix-napari command i get the following text:

🅇 Invalid! 1 validation error for PluginManifest __root__ The declared schema version '0.2.0' is newer than npe2's schema version: '0.1.0'. You may need to upgrade npe2. (type=value_error)

Any suggestions what i'm doing wrong?

Thanks in advance!

@leorrose
Copy link
Author

leorrose commented May 28, 2023

Looks like changing the schema_version in the napari.yaml to 0.1.0 from 0.2.0 fix the issue..

@ntatsisk
Copy link
Collaborator

Hi @leorrose, could you give some more info on how you encountered the error (after pip install?) and what OS/python you are using? I was not able to reproduce from my side for python 3.10 on windows and ubuntu. Thanks!

@leorrose
Copy link
Author

@ntatsisk of course, here is the information requested:

  • OS - windows 10
  • Python version - 3.9.16
  • Installation - pip install elastix-napari

I should also note that i'm using anaconda.

Let me know if any other information is needed.

@ntatsisk
Copy link
Collaborator

I cannot replicate it using the versions that you mentioned. I will leave it open for now in case other people have the same issue.

@raacampbell
Copy link

raacampbell commented Feb 21, 2024

I got the same problem on Silicon Mac OS with Python 3.9.15
It initially complained that PySide6 was missing after I pip installed. I installed PySide6 manually and got the above same error after that.
Finally, I started a new Python 3.10 environment ad didn't get any PySide6 error. The plugin seems to install OK: the error do not recur.

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