# IJulia status for v. 0.7/1.0 on Windows 10?

**URL:** <https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902>\
**Category:** General Usage\
**Created:** [August 22, 2018, 7:24pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902 "2018-08-22T19:24:21Z")\
**Posts on this page:** 20\
**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:** [August 22, 2018, 7:24pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/1 "2018-08-22T19:24:22Z")

</div>

Anyone knows the status of `IJulia` for `Julia v.0.7/1.0` under Windows 10? I know this is an `Issue` for the `IJulia` package, and there is still activity on this in the `Julia Observer` section.

I just updated `Julia v.0.7` on my home computer (I’ve done this regularly), including `IJulia` with `v.1.9.3` installed. IJulia starts up fine. When I open a notebook set with kernel `Julia 0.7` and execute code `2*2`, the notebook just hangs. If I interrupt and switches the kernel to `Python 3.0`, the response is instantaneous.

If I use `Juno`, that works fine.

For various reasons, I’ve used `IJulia` instead over `Juno` in the past, so I miss the possibility of test my past notebooks.

---

<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:** [August 29, 2018, 3:54pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/2 "2018-08-29T15:54:06Z")

</div>

OK… IJulia: status on v.0.6.4 vs. v.0.7/1.0 on Windows 10:

- Latest IJulia v. 1.10.0 works _sometimes_ on my Windows 10 computers with Julia 0.7/1.0. Versions of IJulia prior to v. 1.10.0 didn’t work at all with Julia v.0.7/1.0.

- In IJulia, both Julia 0.6.4 and Julia 0.7/1.0 (when it works) as kernels give _sluggish_ response compared to the response with Python 3 as kernel.

- Example: `1+1` is evaluated “immediately” when I use Python 3 as kernel. With Julia as kernel, the evaluation may take a couple (or more) of seconds the first time I evaluate a cell… faster with evaluation in follow-up cells.

So: I didn’t look into the performance of previous versions of IJulia (prior to v. 1.10.0) with kernels Python 3 vs. Julia 0.6.4. If the Julia kernel is slow for earliers versions of IJulia, does that indicate a slumbering problem/instability in the Julia-IJulia connection?

---

<div class="post-metadata">

**Author:** ![Huite](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/huite/32/14034_2.png) [@Huite](https://discourse.julialang.org/u/Huite)\
**Post date:** [August 30, 2018, 9:44am UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/3 "2018-08-30T09:44:10Z")

</div>

Did you check this issue yet?

[https://github.com/JuliaLang/IJulia.jl/issues/693](https://github.com/JuliaLang/IJulia.jl/issues/693)  
(Since you didn’t link it.)

I personally couldn’t get any response from the notebook for 0.7/1.0 until I set

```julia
ENV["IJULIA_DEBUG"] = true

```

and tried [this suggestion](https://github.com/JuliaLang/IJulia.jl/issues/693#issuecomment-415073959) in the issue above.

Then it works for anything between 10 seconds to a minute or so; notebooks are basically unusable on Windows right now. It’s rather unfortunate, I ended up having to install a Linux distro just to get some working notebooks!

I’m not sure what you mean with sluggish response, the first cell always takes a little longer (some compilation going on, I’d guess). It is noticably worse than what you experience when running a notebook on [JuliaBox](https://www.juliabox.com/)?

---

<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:** [August 30, 2018, 11:25am UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/4 "2018-08-30T11:25:50Z")

</div>

Yes, I checked the discussion within the IJulia.jl GitHub page. Since I have virtually zero experience with GitHub (and no account), I couldn’t comment there.

I noticed that someone had had some success by changing the IJulia `ENV`, but I also saw that some well known developers within the Julia society indicated that all the tricks presented were not truly useful.

Anyway, on my two computers (Julia v.0.7.0 at home, Julia v.1.0 at work desktop), I don’t do anything wrt. changing the `ENV`… I simply issue command `notebook()` or `notebook(detached=true)` from the REPL. Prior to IJulia v. 1.10.0, nothing worked on these two. With IJulia v 1.10.0, I get response _sometimes_, but not always. At the same time: if I switch kernel to Python 3, I’ve never had problems, but as soon as I switch back to Julia kernel, the sluggishness and lack of response is back.

When IJulia works, the kernel status looks like this:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/8/b804b70a1ee3dc6536c6b1960ff2003b0e8ff0c4.png)  
where the lower right bullet is a circle (howevering the cursor over the bullet shows “kernel idle”).

When IJulia doesn’t work, the bullet is filled, and howevering the cursor over it shows “kernel busy” – with no response.

Some people claim to have seen similar response with Python kernel; I have only seen it with a Julia kernel (v \> 0.6.4).

My experience with Julia v.0.6.4 as kernel (on my private laptop) is that that has always worked with IJulia. But I still have a feeling that the response with Python kernel is much more snappy. I may be wrong, though.

---

<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:** [September 4, 2018, 12:23pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/5 "2018-09-04T12:23:46Z")

</div>

Should hopefully be working now once you do a `Pkg.update`.

---

<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:** [September 4, 2018, 1:11pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/6 "2018-09-04T13:11:08Z")

</div>

Yes, IJulia seems to work now!! Thanks a lot!! One comment and one question:

- Using Python 3 as kernel still gives much snappier response then when using Julia as kernel. Any reason why? (Since the overhead for calling Python is so low in Julia…)
- Will Jupyter Lab work with IJulia now? If so, how to I download and start Julia Lab?

---

<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:** [September 4, 2018, 1:14pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/7 "2018-09-04T13:14:28Z")

</div>

When you first start an IJulia session, many things are getting compiled the first time you call them, which is why Python can seem snappier for interactive use.

(IJulia does not call Python. Jupyter communicates with language kernels using ZMQ.)

JupyterLab has worked for some time now, so it should still work.

---

<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:** [September 4, 2018, 1:27pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/8 "2018-09-04T13:27:22Z")

</div>

OK.

JupyterLab… how do I start it? Right now, I start Jupyter notebooks from the REPL by…

```julia
julia> using IJulia
julia> notebook()

```

What is the procedure for starting JupyterLab in the REPL?

---

<div class="post-metadata">

**Author:** ![joshualeond](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joshualeond/32/230_2.png) [@joshualeond](https://discourse.julialang.org/u/joshualeond)\
**Post date:** [September 4, 2018, 2:00pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/9 "2018-09-04T14:00:53Z")

</div>

Open your command prompt outside of the Julia REPL and type `jupyter lab`. Similarly, if you had wanted to start the notebook outside of the Julia REPL then type `jupyter notebook`. Though you do need Jupyter lab installed first.

---

<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:** [September 4, 2018, 3:17pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/10 "2018-09-04T15:17:33Z")

</div>

Aha. So I…

1. Install Jupyter Lab via Anaconda. (Assumingly for Python 3, and not Python 2??; `> conda install jupyterlab`, or `conda install -c conda-forge jupyterlab` or something?)
2. Type `jupyter lab` in a command window of Windows 10 (e.g., the one for Python 3).

Questions:

- Will then the Julia kernel automatically become available in the opened `jupyter lab` browser window?
- If so (Julia automatically available), do I need IJulia at all, then?

---

<div class="post-metadata">

**Author:** ![swt30](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/swt30/32/4667_2.png) [@swt30](https://discourse.julialang.org/u/swt30)\
**Post date:** [September 4, 2018, 3:32pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/11 "2018-09-04T15:32:37Z")

</div>

If you do that then it sounds like you might be installing a second Conda distribution just to run jupyterlab, whereas there should already be one installed inside your .julia folder—that’s the one that gets called if you do `IJulia.notebook()`). Unfortunately there’s nothing built into IJulia to let you run jupyterlab through that Conda distribution yet. I’ve [suggested it](https://github.com/JuliaLang/IJulia.jl/issues/666), something like `IJulia.lab()`, but haven’t gotten around to putting together a PR for it yet.

Jupyterlab uses the same notebook kernels, so if you have got notebooks working then the lab interface should work too 🙂

---

<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:** [September 4, 2018, 3:49pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/12 "2018-09-04T15:49:03Z")

</div>

If you want to use the default Conda.jl distribution to install JupyterLab:

```julia
using Conda
Conda.add("jupyterlab")

```

and then, to run it:

```julia
jupyter = joinpath(Conda.BINDIR, "jupyter")
run(`$jupyter lab`)

```

---

<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:** [September 4, 2018, 4:01pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/13 "2018-09-04T16:01:19Z")

</div>

Ah. OK – I already have another Python installment (Python 2.7 + Python 3.x) on my computer, but I understand the logics of using the one provided with Julia.

---

<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:** [September 4, 2018, 4:03pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/14 "2018-09-04T16:03:52Z")

</div>

OK: the two first statements are carried out in the Julia REPL, I assume. (`using Conda`, `Conda.add(...)`).

The two second commands (“to run it”) – are those also carried out in the Julia REPL? Do I have to issue these four commands every time I want to run 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:** [September 4, 2018, 5:05pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/15 "2018-09-04T17:05:03Z")

</div>

> [@BLI](#):
>
> The two second commands (“to run it”) – are those also carried out in the Julia REPL?

Yes. Or you can use the first `jupyter = ...` command to find the path of Jupyter and then run it from an OS terminal if you want.

> Do I have to issue these four commands every time I want to run JupyterLab?

You don’t need the `Conda.add`. But you need to run the `jupyter lab` command every time you want to launch JupyterLab. (Or just leave it running all the time in the background, and connect to it from your browser when desired.)

---

<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:** [September 4, 2018, 6:14pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/16 "2018-09-04T18:14:57Z")

</div>

Hm… Is `run` a Julia command? Should I really use back-tick to enclose the “string” (or whatever it is)?

Neither use of back-tick or use of quotation works… if I do

```nohighlight
run("$jupyter lab")

```

this leads to error message:

```nohighlight
ERROR: MethodError: no method matching run(::String)
Closest candidates are:
  run(::Base.AbstractCmd, ::Any...; wait) at process.jl:668
Stacktrace:
 [1] top-level scope at none:0

```

---

<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:** [September 4, 2018, 6:29pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/17 "2018-09-04T18:29:43Z")

</div>

OK. I see from the help system that it is, in fact, correct to use back ticks. However, I get an error message:

```nohighlight
julia> jupyter = joinpath(Conda.BINDIR,"jupyter")
"C:\\Users\\user_name\.julia\\packages\\Conda\\m7vem\\deps\\usr\\Library\\bin\\jupyter"
julia> run(`$jupyter lab`)
ERROR: IOError: could not spawn `'C:\Users\user_name\.julia\packages\Conda\m7vem\deps\usr\Library\bin\jupyter' lab`: no such file or directory (ENOENT)
Stacktrace:
 [1] _jl_spawn(::String, ::Array{String,1}, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:370
 [2] (::getfield(Base, Symbol("##499#500")){Cmd})(::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:512
 [3] setup_stdio(::getfield(Base, Symbol("##499#500")){Cmd}, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:493
 [4] #_spawn#498(::Nothing, ::Function, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:511
 [5] _spawn at .\process.jl:507 [inlined]
 [6] #run#509(::Bool, ::Function, ::Cmd) at .\process.jl:669
 [7] run(::Cmd) at .\process.jl:668
 [8] top-level scope at none:0

```

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [September 4, 2018, 6:53pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/18 "2018-09-04T18:53:18Z")

</div>

Can you try

```julia
jupyterlab = joinpath(Conda.BINDIR, "jupyter") * "-lab"
run(`$jupyterlab`)

```

---

<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:** [September 4, 2018, 7:12pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/19 "2018-09-04T19:12:03Z")

</div>

```nohighlight
julia> jupyterlab = joinpath(Conda.BINDIR,"jupyter")*"-lab"
"C:\\Users\\user_name\\.julia\\packages\\Conda\\m7vem\\deps\\usr\\Library\\bin\\jupyter-lab"

julia> run(`$jupyterlab`)
ERROR: IOError: could not spawn `'C:\Users\user_name\.julia\packages\Conda\m7vem\deps\usr\Library\bin\jupyter-lab'`: no such file or directory (ENOENT)
Stacktrace:
 [1] _jl_spawn(::String, ::Array{String,1}, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:370
 [2] (::getfield(Base, Symbol("##499#500")){Cmd})(::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:512
 [3] setup_stdio(::getfield(Base, Symbol("##499#500")){Cmd}, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:493
 [4] #_spawn#498(::Nothing, ::Function, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:511
 [5] _spawn at .\process.jl:507 [inlined]
 [6] #run#509(::Bool, ::Function, ::Cmd) at .\process.jl:669
 [7] run(::Cmd) at .\process.jl:668
 [8] top-level scope at none:0

```

Similar error message?

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [September 4, 2018, 7:12pm UTC](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902/20 "2018-09-04T19:12:31Z")

</div>

And you did run

```julia
using Conda
Conda.add("jupyterlab")

```

?

[Next page](https://discourse.julialang.org/t/ijulia-status-for-v-0-7-1-0-on-windows-10/13902.md?page=2)
