elastix-napari icon indicating copy to clipboard operation
elastix-napari copied to clipboard

Invalid schema for package 'elastix-napari'

Open leorrose opened this issue 1 year ago • 5 comments

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 avatar May 28 '23 13:05 leorrose

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

leorrose avatar May 28 '23 14:05 leorrose

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!

ntatsisk avatar Jun 20 '23 02:06 ntatsisk

@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.

leorrose avatar Jun 27 '23 19:06 leorrose

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.

ntatsisk avatar Jul 28 '23 11:07 ntatsisk

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.

raacampbell avatar Feb 21 '24 11:02 raacampbell