# Reload a python module that failed the initialize without restarting Slicer

**URL:** https://discourse.slicer.org/t/reload-a-python-module-that-failed-the-initialize-without-restarting-slicer/45366
**Category:** Support
**Created:** [December 4, 2025, 4:54pm UTC](https://discourse.slicer.org/t/reload-a-python-module-that-failed-the-initialize-without-restarting-slicer/45366 "2025-12-04T16:54:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [December 4, 2025, 4:54pm UTC](https://discourse.slicer.org/t/reload-a-python-module-that-failed-the-initialize-without-restarting-slicer/45366/1 "2025-12-04T16:54:33Z")

</div>

Is there a way to reload a failed module without restarting the slicer? I can’t use the “Reload” button if the module hasn’t successfully initialized…

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [December 4, 2025, 5:14pm UTC](https://discourse.slicer.org/t/reload-a-python-module-that-failed-the-initialize-without-restarting-slicer/45366/2 "2025-12-04T17:14:47Z")

</div>

You could try dragging the directory onto Slicer again, but generally I just restart since 90+% of the debugging can be done once the module loads the first time. In fact, good practice is to just start with the template and incrementally modifiy it so it is always reloadable.
