'napari._vispy.layers.image' is not a package
See original GitHub issueActivating experimental rendering features causes persistent ModuleNotFoundError
Recently, I discovered the two “experimental” features designed to enhance viewer performance with asynchronous rendering. After checking both options in Preferences (under Experimental), the GUI prompted a restart. When attempting to relaunch Napari, the following error is thrown: ModuleNotFoundError: No module named 'napari._vispy.layers.image.experimental'; 'napari._vispy.layers.image' is not a package
. I tried recreating my virtual environment, installing a different version of Napari, using the --no-cache-dir
flag with pip to ensure that the installation process did not use cached files…but every new installation of Napari now throws this error.
To Reproduce
Steps to reproduce the behavior:
- Check both experimental rendering options under File/Preferences/Experimental
- Restart Napari
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Using the image layer - napari
In this document, you will learn how to use the napari image layer, including the types of images that can be displayed, and...
Read more >Napari Track Layer astonishing error - Image.sc Forum
Hi, I am having a very very weird behavior with Napari tracks layer. I tried a very simple example on this page :...
Read more >How to use the napari.layers.Image function in napari - Snyk
To help you get started, we've selected a few napari.layers.Image examples, based on popular ways it is used in public projects.
Read more >napari: a multi-dimensional image viewer for Python - Zenodo
To specify a plugin in a Python script: import napari viewer = napari. ... Correctly order vispy layers on insertion (#4433); napari --info: ......
Read more >Introducing napari: a fast n-dimensional image viewer in Python
VisPy is yet another example of open source software being ... I used napari instead of matplotlib, and found napari's layers model insanely ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Wow that was a quick fix! Thanks for the tip.
Yes not sure about the import. I think the program is looking for the “octree_image.py” file in the wrong “image” directory, as the the “_vispy” directory does not contain an “image/experimental/” sub-directory…May be worth some investigation 🙂
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/3d-images-read-as-2d-time-series/70630/6