1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Installing Julia kernel on Windows JupyterLab

Last updated at Posted at 2018-04-18

IJulia Kernel

Okay, in this document, we will discuss how to install Julia on jupterlab.

image.png

prerequisites

installing julia

https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6.2-win64.exe
from https://julialang.org/downloads/

image.png

image.png

C:\Users\Administrator\AppData\Local\Julia-0.6.2\bin\julia.exe

image.png

installing IJulia

run julia and Pkg.add("IJulia")

julia>Pkg.add("IJulia")

image.png

using IJyulia
notebook()

image.png

image.png

No. this is not what I want. I want IJulia on my current conda environment.

removing IJulia and reinstalling IJulia with setting env["jupyter"]

julia>Pkg.rm("IJulia")
julia>ENV["JUPYTER"]="/c/ProgramData/Anaconda3/envs/jupyterlab/Scripts/jupyter";
julia>Pkg.add("IJulia")

image.png
image.png

jupyter lab

cd %conda_prefix%
jupyter lab

image.png

image.png

test julia

Pkg.update()     # けっこうかかる
Pkg.add("Plots") # 可視化、フロントエンド
Pkg.add("GR")    # 可視化、バックエンド
Pkg.add("DataFrames")

image.png

using Plots
gr(size=(200, 200))
const Matrix = rand(1000, 200);
tic()
@time heapmat(Matrix)

image.png

ref

IJulia
https://github.com/JuliaLang/IJulia.jl

julia download
https://julialang.org/downloads/

IJulia display logic
https://github.com/JuliaPlots/Plots.jl/issues/157

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?