# Voila with slicerJupyter

**URL:** <https://discourse.slicer.org/t/voila-with-slicerjupyter/16772>\
**Category:** Development\
**Created:** [March 26, 2021, 10:13am UTC](https://discourse.slicer.org/t/voila-with-slicerjupyter/16772 "2021-03-26T10:13:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [March 26, 2021, 10:13am UTC](https://discourse.slicer.org/t/voila-with-slicerjupyter/16772/1 "2021-03-26T10:13:48Z")

</div>

Hi all,

Sorry, I am asking this question again as a new topic. I am trying to use Jupyter slicer to visualize my results and share it to some non-technical users. For this, I am planning to use Viola with a jupyter notebook.

First I have developed my Jupyter notebook (following @lassoan notebook : [GitHub - Slicer/SlicerNotebooks: Examples that illustrate how to use 3D Slicer via Jupyter notebooks in Python](https://github.com/Slicer/SlicerNotebooks.git)) which visualizes my results. It worked well.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/5/b527fa88ec1291a44c2ba8dff41396a419496cc2.jpeg)

Now I want to remove the code blocks from my notebook, so a user can directly interact with the results. For this I am trying to integrate voila with binder as follows:

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/0/108b4af3dc3fe933aed32a76a2c42c7fc82a8067.png)

but I am getting this error:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/e/de87dedc70c08ecdb7248259ccaa612cb37c01f4.png)

I think I am making some mistakes with the docker file or something. Can you please help me with this?

For your reference, my repository is:

> **[GitHub - FaizanSiddiqui91/slicer\_notebook\_test](https://github.com/FaizanSiddiqui91/slicer_notebook_test)**
>
> Contribute to FaizanSiddiqui91/slicer\_notebook\_test development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [March 30, 2021, 1:54pm UTC](https://discourse.slicer.org/t/voila-with-slicerjupyter/16772/4 "2021-03-30T13:54:00Z")

</div>

Hi,

I am still stuck in this problem,. I have been reading several articles, e.g:  
[https://blog.jupyter.org/slicerjupyter-a-3d-slicer-kernel-for-interactive-publications-6f2ad829f635](https://blog.jupyter.org/slicerjupyter-a-3d-slicer-kernel-for-interactive-publications-6f2ad829f635)

it seems fairly easy to deploy your app with Voila, however I could not manage to do it yet. Has anyone tried this? Can anyone share any example?  
For reference, the link of my repo is attached in my last message…

Thanks.

---

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [March 31, 2021, 2:15pm UTC](https://discourse.slicer.org/t/voila-with-slicerjupyter/16772/5 "2021-03-31T14:15:15Z")

</div>

Hello, I have been trying other options. I came across with a Jupyer appmode: ([GitHub - oschuett/appmode: A Jupyter extensions that turns notebooks into web applications.](https://github.com/oschuett/appmode)). The app mode is similar to what we have in voila, however, using appmode I could not be able to run Slicer Kernel. There are some problems with the Docker I think.

Can anyone help me with this?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/5/552f43f0ff9d71e29a4db72bbd54c3a0e0e29b31.png)

the notebook could not find slicer Kernel.

Here is my repos for reference.

> **[GitHub - FaizanSiddiqui91/Slicer\_binder](https://github.com/FaizanSiddiqui91/Slicer_binder)**
>
> Contribute to FaizanSiddiqui91/Slicer\_binder development by creating an account on GitHub.

Thanks you.

---

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [April 5, 2021, 9:47pm UTC](https://discourse.slicer.org/t/voila-with-slicerjupyter/16772/7 "2021-04-05T21:47:44Z")

</div>

Hi developers, Sorry for asking this question again…  
Since it mentioned here, it seems a bit straightforward, however, I could not manage to deploy slicer jupyter with Voila…

[https://blog.jupyter.org/slicerjupyter-a-3d-slicer-kernel-for-interactive-publications-6f2ad829f635](https://blog.jupyter.org/slicerjupyter-a-3d-slicer-kernel-for-interactive-publications-6f2ad829f635)

Please let me know if that’s even possible?

---

<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:** [April 5, 2021, 10:20pm UTC](https://discourse.slicer.org/t/voila-with-slicerjupyter/16772/8 "2021-04-05T22:20:21Z")

</div>

Let’s put this first on the list or tomorrow’s developer hangout.

---

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [April 6, 2021, 7:37am UTC](https://discourse.slicer.org/t/voila-with-slicerjupyter/16772/9 "2021-04-06T07:37:23Z")

</div>

Thanks alot. I will discuss what I am up to and what options do I have. I seek your guidance and suggestions.

Thank you.

---

<div class="post-metadata">

**Author:** ![tayran-mila](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tayran-mila/32/18173_2.png) [@tayran-mila](https://discourse.slicer.org/u/tayran-mila)\
**Post date:** [January 24, 2023, 2:15pm UTC](https://discourse.slicer.org/t/voila-with-slicerjupyter/16772/10 "2023-01-24T14:15:59Z")

</div>

Hi all!

I have the same problem here. I am trying to run Voila inside the 3D Slicer docker instance, but it returns a “404: Not Found” error.

I installed Voila via `pip install voila`. When I tried to install it directly from the extension manager, it returned an error about Node.js and npm.

Were you able to run Voila inside the 3D Slicer docker instance?
