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.

AttributeError: module 'imageio.plugins' has no attribute 'freeimage'

See original GitHub issue

Hello,

I have started to get CI failures today, most likely due to some changes introduced by imageio 2.11.0.

I usually install the Freeimage plugin as follows:

poetry run python -c "import imageio;imageio.plugins.freeimage.download()"

Which now raises an exception:

AttributeError: module 'imageio.plugins' has no attribute 'freeimage'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
FirefoxMetzgercommented, Nov 22, 2021

@KelSolaar It does make sense, and I agree.

It wasn’t my intention to break this API, which is why there is a PR to bring it back and also why there was no deprecation warning. I develop against our CI because that’s the best way to check if I broke anything, but that clearly isn’t infallible. However, the CI does get better incrementally and #693 includes a new unit test to check for the availability of imageio.plugins.freeimage.download() and prevent this from breaking again.

2reactions
FirefoxMetzgercommented, Nov 21, 2021

@KelSolaar I’ve added a PR to bring back

poetry run python -c "import imageio;imageio.plugins.freeimage.download()"

We will have to internally discuss the solution I’ve chosen, so it might not be merged immediately. Either way, a solution has been identified and is on its way into one of the next releases 😃 In the meantime you can of course rely on the workaround I posted above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to download 'libfreeimage-3.16.0-osx10.6.dylib' using ...
I am trying to read *.hdr image using imageio python library. I am using the free image plugin for imageio in order to...
Read more >
imageio.plugins.freeimage — imageio 2.22.4 documentation
Read/Write images using FreeImage. Backend Library: FreeImage. Note. To use this plugin you have to install its backend: imageio_download_bin freeimage.
Read more >
imageio Documentation - Read the Docs
IMAGEIO_FORMAT_ORDER: Determine format preference. E.g. setting this to "TIFF, -FI" will prefer the. FreeImage plugin over the Pillow plugin, but still prefer ...
Read more >
README.md · master · Prashant Chaudhari / DeepHDRImaging
Getting the dependencies · clone the repo and follow the instructions to build the wrapper · once it is build, you must install...
Read more >
NumFOCUS, Colour 0.3.14 and Colour - Datasets 0.1.0!
We are delighted to announce that Colour has joined the NumFOCUS ... python -c "import imageio;imageio.plugins.freeimage.download()".
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