SuperElastix / elastix-napari

A napari plugin for itk-elastix
Apache License 2.0
37 stars 8 forks source link

Invalid schema for package 'elastix-napari' #39

Open leorrose opened 1 year ago

leorrose commented 1 year ago

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 commented 1 year ago

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

ntatsisk commented 1 year ago

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 commented 1 year ago

@ntatsisk of course, here is the information requested:

I should also note that i'm using anaconda.

Let me know if any other information is needed.

ntatsisk commented 1 year ago

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 commented 7 months ago

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.