elastix-napari
elastix-napari copied to clipboard
Invalid schema for package 'elastix-napari'
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!
Looks like changing the schema_version
in the napari.yaml
to 0.1.0
from 0.2.0
fix the issue..
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 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.
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.
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.