# Update Julia 1.6.0 Package in Jupyter notebook

**URL:** <https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536>\
**Category:** New to Julia\
**Created:** [April 3, 2021, 11:30pm UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536 "2021-04-03T23:30:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manisha\_07](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@Manisha\_07](https://discourse.julialang.org/u/Manisha_07)\
**Post date:** [April 3, 2021, 11:30pm UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/1 "2021-04-03T23:30:14Z")

</div>

Hello  
I have updated my Julia.Now i need to add my julia to Jupyter notebook  
How would I do that  
.Please help me in adding the julia to jupyter notebook

---

<div class="post-metadata">

**Author:** ![jstrube](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jstrube/32/525_2.png) [@jstrube](https://discourse.julialang.org/u/jstrube)\
**Post date:** [April 4, 2021, 12:20am UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/2 "2021-04-04T00:20:13Z")

</div>

Start Julia, then type the following to install the necessary packages:

```julia
]
add IJulia
build IJulia

```

That’s it. Now, when you are back at the Julia prompt, you can start the notebook like this:

```julia
using IJulia
notebook()

```

You can find more information and the link to the documentation on the github page:

> **[GitHub - JuliaLang/IJulia.jl: Julia kernel for Jupyter](https://github.com/JuliaLang/IJulia.jl)**
>
> Julia kernel for Jupyter. Contribute to JuliaLang/IJulia.jl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Manisha\_07](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@Manisha\_07](https://discourse.julialang.org/u/Manisha_07)\
**Post date:** [April 4, 2021, 12:21am UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/3 "2021-04-04T00:21:58Z")

</div>

Thank you

---

<div class="post-metadata">

**Author:** ![skerr](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@skerr](https://discourse.julialang.org/u/skerr)\
**Post date:** [August 11, 2021, 12:55am UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/4 "2021-08-11T00:55:07Z")

</div>

using julia v1.6.2  
macbook pro (intel chipset)

I followed the above advice, and after launching “jupyter notebook” and selecting julia 1.6.2 from jupyter pulldown - the kernel fails to start. See this before?

---

<div class="post-metadata">

**Author:** ![jstrube](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jstrube/32/525_2.png) [@jstrube](https://discourse.julialang.org/u/jstrube)\
**Post date:** [August 11, 2021, 1:05am UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/5 "2021-08-11T01:05:32Z")

</div>

Are you sure IJulia is installed as a package?  
If you use the command line to start, do you get an error message when you try to start a Julia kernel?

---

<div class="post-metadata">

**Author:** ![skerr](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@skerr](https://discourse.julialang.org/u/skerr)\
**Post date:** [August 11, 2021, 1:15am UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/6 "2021-08-11T01:15:30Z")

</div>

![Screen Shot 2021-08-10 at 6.12.39 PM](https://global.discourse-cdn.com/julialang/original/3X/e/5/e596c62210f72f08fe4b952be095cd6ad84cc487.png)  
From command line, julia boots fine. It has been added to my path variable.  
When i launch:

```julia
jupyter notebook

```

Jupyter launches fine, the julia v1.6.2 kernel is available in the pulldown, but Jupyter notes it is unable to connect, and the kernel bombs.

---

<div class="post-metadata">

**Author:** ![skerr](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@skerr](https://discourse.julialang.org/u/skerr)\
**Post date:** [August 11, 2021, 1:19am UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/7 "2021-08-11T01:19:01Z")

</div>

![Screen Shot 2021-08-10 at 6.18.31 PM](https://global.discourse-cdn.com/julialang/original/3X/2/f/2fbf0d72f6b4cbd7d6a43da271bfd2742de58909.png)

---

<div class="post-metadata">

**Author:** ![aramirezreyes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aramirezreyes/32/42573_2.png) [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Post date:** [August 11, 2021, 1:26am UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/8 "2021-08-11T01:26:16Z")

</div>

What happens if you launch it from the julia REPL as indicated above by @jstrube? Do you have something in startup.jl? Is this the first version of julia you try, or did you have a previous version that worked correctly?

---

<div class="post-metadata">

**Author:** ![skerr](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@skerr](https://discourse.julialang.org/u/skerr)\
**Post date:** [August 11, 2021, 1:50am UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/9 "2021-08-11T01:50:23Z")

</div>

Per those instructions:

 ![Screen Shot 2021-08-10 at 6.48.36 PM](https://global.discourse-cdn.com/julialang/original/3X/3/2/3251e868497f1cdf2b70441a59cf350d1828191a.jpeg)

THen going to browser (Brave) the notebook is there. The julia v1.6.2 kernel option is there. If i selected it, the kernel times out and then bombs

---

<div class="post-metadata">

**Author:** ![genkuroki](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/genkuroki/32/18030_2.png) [@genkuroki](https://discourse.julialang.org/u/genkuroki)\
**Post date:** [August 11, 2021, 1:56am UTC](https://discourse.julialang.org/t/update-julia-1-6-0-package-in-jupyter-notebook/58536/10 "2021-08-11T01:56:27Z")

</div>

The most important point of installing IJulia.jl is to tell IJulia where to find the jupyter command.

In many cases, IJulia will automatically figure out where the correct jupyter command is located.

If not, assign the location of the jupyter command to ENV[“JUPYTER”] and then add IJulia or build IJulia.

```julia
julia> ENV["JUPYTER"] = "full path to the jupyter command (including the jupyter command itself)"
pkg> add IJulia
pkg> build IJulia

```

Quotation from [Installation · IJulia](https://julialang.github.io/IJulia.jl/stable/manual/installation/#Installing-IJulia) :

> You can force it to use a specific jupyter installation by setting ENV[“JUPYTER”] to the path of the jupyter program before Pkg.add, or before running Pkg.build(“IJulia”)

In the stuart kerr-san case:

```julia
julia> ENV["JUPYTER"] = "/Users/stuart/.julia/conda/3/bin/jupyter"
pkg> add IJulia
pkg> build IJulia

```
