# Upgrade 0.6.2 -\> 0.6.3, IJulia problem?

**URL:** <https://discourse.julialang.org/t/upgrade-0-6-2-0-6-3-ijulia-problem/11364>\
**Category:** New to Julia\
**Created:** [June 2, 2018, 11:42am UTC](https://discourse.julialang.org/t/upgrade-0-6-2-0-6-3-ijulia-problem/11364 "2018-06-02T11:42:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [June 2, 2018, 11:42am UTC](https://discourse.julialang.org/t/upgrade-0-6-2-0-6-3-ijulia-problem/11364/1 "2018-06-02T11:42:25Z")

</div>

I just upgraded from Julia 0.6.2 to 0.6.3. Here is what I did:

- uninstall Julia 0.6.2
- install Julia 0.6.3
- `Pkg.update()`

When I ran `using IJulia` + `notebook()` and opened a notebook, I got a _Kernel error_, and noticed that the kernel was listed as `v. 0.6.2`.

- Is this the expected behavior?
- Do I need to remove all packages and re-adding them?

I _did_ do `Pkg.rm("IJulia")` and then added it again, and now the notebook works…

So… essentially, my question is:  
**Q** : What is the expected action when upgrading Julia versions?

---

<div class="post-metadata">

**Author:** ![jarvist](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jarvist/32/123_2.png) [@jarvist](https://discourse.julialang.org/u/jarvist)\
**Post date:** [June 2, 2018, 11:46am UTC](https://discourse.julialang.org/t/upgrade-0-6-2-0-6-3-ijulia-problem/11364/2 "2018-06-02T11:46:17Z")

</div>

The process is slightly buried in the readme of iJulia.jl (I have to go and look it up everytime I upgrade!)  
[https://github.com/JuliaLang/IJulia.jl#updating-julia-and-ijulia](https://github.com/JuliaLang/IJulia.jl#updating-julia-and-ijulia)

Essentially you just need to run  
`Pkg.build("IJulia")`  
From the REPL of your new Julia (in this case 0.6.3) instance.

---

<div class="post-metadata">

**Author:** ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Post date:** [June 2, 2018, 11:59am UTC](https://discourse.julialang.org/t/upgrade-0-6-2-0-6-3-ijulia-problem/11364/3 "2018-06-02T11:59:00Z")

</div>

There’s also an `installkernel` function demoed in that README, that’s worth knowing about if you want to start Julia with any compiler flags:

```julia
IJulia.installkernel("Julia nodeps", "--depwarn=no")

```

---

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [June 2, 2018, 12:30pm UTC](https://discourse.julialang.org/t/upgrade-0-6-2-0-6-3-ijulia-problem/11364/4 "2018-06-02T12:30:59Z")

</div>

Thanks for tip. I did `Pkg.rm("IJulia")` followed by `Pkg.add("IJulia")`, and that allowed me to start up `IJulia` with the correct kernel. I still do have problems running a notebook that used to work under Julia v. 0.6.2, so I tried to subsequently do `Pkg.build("IJulia")` – seemed to work, but there was an error message referring to `kernel-spec` or something; still the notebook started (but couldn’t execute as before; see separate thread).

---

<div class="post-metadata">

**Author:** ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Post date:** [June 2, 2018, 12:33pm UTC](https://discourse.julialang.org/t/upgrade-0-6-2-0-6-3-ijulia-problem/11364/5 "2018-06-02T12:33:04Z")

</div>

At the menu on top of the notebook, did you try  
Kernel → Change Kernel → [select 0.6.3]  
?

Notebooks save which kernel you used, so it will open with what you used last time.
