# Kernel continuously restarted in Mac OS X + Jupyter + Julia 0.5

**URL:** <https://discourse.julialang.org/t/kernel-continuously-restarted-in-mac-os-x-jupyter-julia-0-5/526>\
**Category:** General Usage\
**Created:** [November 23, 2016, 2:44pm UTC](https://discourse.julialang.org/t/kernel-continuously-restarted-in-mac-os-x-jupyter-julia-0-5/526 "2016-11-23T14:44:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinhqdang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vinhqdang/32/233_2.png) [@vinhqdang](https://discourse.julialang.org/u/vinhqdang)\
**Post date:** [November 23, 2016, 2:44pm UTC](https://discourse.julialang.org/t/kernel-continuously-restarted-in-mac-os-x-jupyter-julia-0-5/526/1 "2016-11-23T14:44:27Z")

</div>

Hello everyone

I am using Mac OS X 10.12.1

I downloaded Julia 0.5.dmg from the website, and put Julia-0.5.app into Applications folder.

Then I started julia-0.5 app, and typed:

Pkg.add(“Ijulia”)

The build failed at installing Nettle.

I also installed jupyter 4.2.0 with anaconda (python 2.7)\

conda install jupyter

Now I used

jupyter notebook

and started a Jupyter notebook with julia as the kernel.

The problem now is the kernel will continuously restart. It reported that “the kernel about having die” and asked me to restart the kernel, and in fact I could not do anything.

What is the correct way to install IJulia and use it with Jupyter?

Thanks a lot,

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [November 23, 2016, 9:51pm UTC](https://discourse.julialang.org/t/kernel-continuously-restarted-in-mac-os-x-jupyter-julia-0-5/526/2 "2016-11-23T21:51:49Z")

</div>

I suggest you do the following:

```julia
ENV["PYTHON"] = ""
ENV["JUPYTER"] = ""

Pkg.build("PyCall")
Pkg.build("IJulia")

```

This will install local Python and Jupyter distributions that are used only by the relevant Julia packages, and has a higher chance (?) of having versions that interact well with each other.

If this does not work, you will need to show the actual error messages you get.

---

<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:** [November 25, 2016, 12:30am UTC](https://discourse.julialang.org/t/kernel-continuously-restarted-in-mac-os-x-jupyter-julia-0-5/526/3 "2016-11-25T00:30:01Z")

</div>

See also the [debugging suggestions](https://github.com/JuliaLang/IJulia.jl#debugging-ijulia-problems) on the IJulia page.
