# 'imageio' no longer found in site-packages on fresh install

**URL:** <https://discourse.slicer.org/t/imageio-no-longer-found-in-site-packages-on-fresh-install/28949>\
**Category:** Development\
**Tags:** python\
**Created:** [April 17, 2023, 2:31am UTC](https://discourse.slicer.org/t/imageio-no-longer-found-in-site-packages-on-fresh-install/28949 "2023-04-17T02:31:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GradyC](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@GradyC](https://discourse.slicer.org/u/GradyC)\
**Post date:** [April 17, 2023, 2:31am UTC](https://discourse.slicer.org/t/imageio-no-longer-found-in-site-packages-on-fresh-install/28949/1 "2023-04-17T02:31:04Z")

</div>

Hello, I have been working on a project that uses Slicer to help rasterize an .stl file to a TIFF stack of images. This process is aided by a very similar python script like [this](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#rasterize-a-model-and-save-it-to-a-series-of-image-files) in the documentation. Recently I reinstalled Slicer and now I am getting an error stating: **ModuleNotFoundError: No module named ‘imageio’**

I have Slicer also installed on another machine, and within the Lib\site-packages there is an imageio file within the directory, while on my machine (the one I am having issues with) there is no imageio in the directory.

I have also tried to use Slicer’s python console using _import imageio_, but I get the same exception.

Has Slicer dropped the use of imageio with the use of python? If not is there a way to fix this error?

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 17, 2023, 2:54am UTC](https://discourse.slicer.org/t/imageio-no-longer-found-in-site-packages-on-fresh-install/28949/2 "2023-04-17T02:54:53Z")

</div>

From my memory, `imageio` has never been included in Slicer core. It was likely installed in Slicer whenever you installed an extension. Something like `scikit-image` uses that python package as a dependency.

To install additional python packages in a Slicer version, see the following documentation:

[https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository.html#install-a-python-package](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#install-a-python-package)

---

<div class="post-metadata">

**Author:** ![GradyC](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@GradyC](https://discourse.slicer.org/u/GradyC)\
**Post date:** [April 17, 2023, 3:11am UTC](https://discourse.slicer.org/t/imageio-no-longer-found-in-site-packages-on-fresh-install/28949/3 "2023-04-17T03:11:59Z")

</div>

Hey James, I actually fixed this shortly after I posted this. Along the lines of development, I think I ran _pip\_install(‘imageio’)_ at some point and forgot like a goofball. That link you sent is essentially the solution I came to. Thank you for your help!
