You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking on it, AICSImageIO causes an error (see full log at the bottom):
ModuleNotFoundError: No module named 'aiohttp'
[...]
PluginCallError: Error in plugin 'aicsimageio-in-memory', hook 'napari_get_reader': HTTPFileSystem requires "requests" and "aiohttp" to be installed
Expected Behavior
It would be cool if AICSImageIO could not try to load that file in case those dependencies are not installed. Another napari loader plugin would then have the chance to try.
Alternatively, could you ship those missing dependencies when installing napari-aicsimageio?
Reproduction
You can install napari-pyclesperanto-assistant 0.9.5 with napari-aicsimageio in your napari. You will then find this entry under File > Open Samples > clEsperanto > Haase_MRT_tfl3d1. Click it to reproduce the error above.
Huh. I never noticed this before because I thought fsspec came with requests installed. I think I will add fsspec[http]s3fs[boto3] and gcsfs to the requirements to cover the major bases.
Description
Hi @JacksonMaxfield ,
I'm trying to load example data into napari from zenodo.org, therefore, I implemented this hook:
When clicking on it, AICSImageIO causes an error (see full log at the bottom):
Expected Behavior
It would be cool if AICSImageIO could not try to load that file in case those dependencies are not installed. Another napari loader plugin would then have the chance to try.
Alternatively, could you ship those missing dependencies when installing napari-aicsimageio?
Reproduction
You can install napari-pyclesperanto-assistant 0.9.5 with napari-aicsimageio in your napari. You will then find this entry under File > Open Samples > clEsperanto > Haase_MRT_tfl3d1. Click it to reproduce the error above.
Environment
That's my napari environment:
napari: 0.4.10
Platform: Windows-10-10.0.19041-SP0
Python: 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:10:34) [MSC v.1916 64 bit (AMD64)]
Qt: 5.12.9
PyQt5: 5.12.3
NumPy: 1.19.5
SciPy: 1.6.3
Dask: 2021.06.0
VisPy: 0.6.6
OpenGL:
Screens:
Plugins:
Full error log
The text was updated successfully, but these errors were encountered: