# How to read a Jupyter notebook when kernel keeps dying

**URL:** <https://discourse.julialang.org/t/how-to-read-a-jupyter-notebook-when-kernel-keeps-dying/58626>\
**Category:** New to Julia\
**Tags:** jupyter\
**Created:** [April 5, 2021, 3:58pm UTC](https://discourse.julialang.org/t/how-to-read-a-jupyter-notebook-when-kernel-keeps-dying/58626 "2021-04-05T15:58:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbacelar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sbacelar/32/4359_2.png) [@sbacelar](https://discourse.julialang.org/u/sbacelar)\
**Post date:** [April 5, 2021, 3:58pm UTC](https://discourse.julialang.org/t/how-to-read-a-jupyter-notebook-when-kernel-keeps-dying/58626/1 "2021-04-05T15:58:04Z")

</div>

I have changed to `Julia 1.6.0`. My `Jupyter` kernel is also 1.6.0. But when I try to open some (old) `ipnyb` file, my kernel dies.  
What shall I do? Shall I build an old (compatible) kernel? If yes, how can I do it?

---

<div class="post-metadata">

**Author:** ![sbacelar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sbacelar/32/4359_2.png) [@sbacelar](https://discourse.julialang.org/u/sbacelar)\
**Post date:** [April 5, 2021, 4:35pm UTC](https://discourse.julialang.org/t/how-to-read-a-jupyter-notebook-when-kernel-keeps-dying/58626/2 "2021-04-05T16:35:10Z")

</div>

I solved this problem.  
In the directory where is the `ipynb` file I did `activate .` and then `instantiate`.  
After that I did `build IJulia` and after:  
`using IJulia`  
`notebook()`  
And it worked with the kernel 1.6.0.

---

<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 5, 2021, 5:41pm UTC](https://discourse.julialang.org/t/how-to-read-a-jupyter-notebook-when-kernel-keeps-dying/58626/3 "2021-04-05T17:41:58Z")

</div>

You need to re-build IJulia if you move install/move the Julia executable to a new location: [Installation · IJulia](https://julialang.github.io/IJulia.jl/stable/manual/installation/#Updating-Julia-and-IJulia)
