# How to use sysimage in jupyter?

**URL:** <https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207>\
**Category:** General Usage\
**Created:** [April 8, 2020, 1:19am UTC](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207 "2020-04-08T01:19:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![phelipe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phelipe/32/14643_2.png) [@phelipe](https://discourse.julialang.org/u/phelipe)\
**Post date:** [April 8, 2020, 1:19am UTC](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207/1 "2020-04-08T01:19:47Z")

</div>

How to use custom julia sysimage in jupyter?

---

<div class="post-metadata">

**Author:** ![non-Jedi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/non-jedi/32/3645_2.png) [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Post date:** [April 8, 2020, 12:56pm UTC](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207/2 "2020-04-08T12:56:28Z")

</div>

You’ll have to install a kernel with the `--sysimage=path/to/sysimage` flag. See the [relevant section of the IJulia README](https://github.com/JuliaLang/IJulia.jl#installing-additional-julia-kernels).

---

<div class="post-metadata">

**Author:** ![phelipe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phelipe/32/14643_2.png) [@phelipe](https://discourse.julialang.org/u/phelipe)\
**Post date:** [April 8, 2020, 2:59pm UTC](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207/3 "2020-04-08T14:59:44Z")

</div>

This worked with jupyter notebook but did not with jupyterlab and nteract.

---

<div class="post-metadata">

**Author:** ![non-Jedi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/non-jedi/32/3645_2.png) [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Post date:** [April 8, 2020, 3:36pm UTC](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207/4 "2020-04-08T15:36:20Z")

</div>

If you want help with those, you’ll need to be more specific about what you tried and what didn’t work. At a guess, I’d check to make sure you’re using the same installation of jupyter for IJulia as you’re using for nteract/jupyterlab.

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [April 8, 2020, 4:41pm UTC](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207/5 "2020-04-08T16:41:36Z")

</div>

For JupyterLab, you should also be able to switch between installed kernels: [Multiple Python kernels for Jupyter Lab with Conda | by Jeremy Brown | Medium](https://medium.com/@jeremy.from.earth/multiple-python-kernels-for-jupyter-lab-with-conda-c67e50de3aa3)

---

<div class="post-metadata">

**Author:** ![phelipe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phelipe/32/14643_2.png) [@phelipe](https://discourse.julialang.org/u/phelipe)\
**Post date:** [April 8, 2020, 4:46pm UTC](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207/6 "2020-04-08T16:46:25Z")

</div>

In all cases, it is possible to run sysimage, but in jupyterlab / nteract it is not possible to run a cell.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/b/2bbe095d6a8856bcbdc708113cb6425fea349494.png)

There is no error message, the only message that appears is:  
"Adapting from protocol version 5.0 (kernel eaa6d4a2-07e6-46d1-a5f0-c4ebb2765e4a) to 5.3 (client).  
"  
I believe it is a bug in jupyterlab, I will try to update it.

---

<div class="post-metadata">

**Author:** ![phelipe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phelipe/32/14643_2.png) [@phelipe](https://discourse.julialang.org/u/phelipe)\
**Post date:** [April 8, 2020, 5:00pm UTC](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207/7 "2020-04-08T17:00:43Z")

</div>

After updat and build jupyterlab it worked. Thank you! 🙂
