question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When iterate over supported extenstions of imageio got ModuleNotFoundError

See original GitHub issue

In tests, when iterating over supported extensions of imagio it ends with ModuleNotFoundError exception.

As ffmpeg support is optional, if there is a lack of this dependency, it should end with not reporting support for such extension, not exception about the missed format.

https://github.com/napari/superqt/actions/runs/3172165766/jobs/5166348387

 /opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
napari/_qt/__init__.py:54: in <module>
    from .qt_main_window import Window
napari/_qt/qt_main_window.py:56: in <module>
    from .qt_viewer import QtViewer
napari/_qt/qt_viewer.py:15: in <module>
    from napari_builtins.io import imsave_extensions
napari_builtins/io/__init__.py:1: in <module>
    from ._read import magic_imread, napari_get_reader
napari_builtins/io/_read.py:25: in <module>
    IMAGEIO_EXTENSIONS = {x for f in imageio.formats for x in f.extensions}
napari_builtins/io/_read.py:25: in <setcomp>
    IMAGEIO_EXTENSIONS = {x for f in imageio.formats for x in f.extensions}
/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/imageio/core/format.py:640: in <genexpr>
    return iter(x.format for x in self._formats)
/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/imageio/config/plugins.py:85: in format
    module = importlib.import_module(self.module_name, self.package_name)
/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/imageio/plugins/ffmpeg.py:136: in <module>
    import imageio_ffmpeg
E   ModuleNotFoundError: No module named 'imageio_ffmpeg

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
FirefoxMetzgercommented, Oct 16, 2022

This should have been released last Monday, but the CD was halted because of a test failing, which I actually didn’t notice. I’ve triggered a manual re-run so if that works the new release should be out in a few hours; otherwise on Monday 😃

Edit: Released 😃

0reactions
Czakicommented, Oct 16, 2022

When we could expect a new release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting a file not found error when iterating over a directory
I get a list and it contains all files in the directory, first one being "10028057_nodes" which provides the error... python · numpy...
Read more >
No module named 'tensorflow_core.keras' in Flask ... - GitHub
I'm unable to import and run a model using Flask services because of this error: ModuleNotFoundError: No module named 'tensorflow_core.keras ...
Read more >
Imageio Usage Examples — imageio 2.23.0 documentation
Assuming there are only image files in the ZIP archive you can iterate over them with a simple script like the one below....
Read more >
tifffile - PyPI
Tifffile is a Python library to. store NumPy arrays in TIFF (Tagged Image File Format) files, and. read image and metadata from TIFF-like...
Read more >
How to Fix: No module named NumPy - GeeksforGeeks
Numpy is a module used for array processing. The error “No module named numpy ” will occur when there is no NumPy library...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found