Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
2
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

Installing Julia kernel on Windows JupyterLab

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

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
2
Help us understand the problem. What are the problem?