3
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.

JuliaをJupyterで使えるようになるまで(Ubuntu)

Last updated at Posted at 2017-10-10

JuliaをJupyter使ってやってみたかったので,やってみました
ここでいろいろ試せました

環境

  • Ubuntu 14.04

Julia インストール

[こちらを参考に]
(https://qiita.com/n_kats_/items/bbfea88247cd0daa01f8)やってみました

先人に倣って

sudo add-apt-repository ppa:staticfloat/juliareleases
sudo add-apt-repository ppa:staticfloat/julia-deps
sudo apt-get update
sudo apt-get install julia

で難なくJuliaインストール

Jupyterで扱う

その後はこちらを参考に

Pkg.add("IJulia")
Pkg.add("ZMQ")

としましたが

============================================[ ERROR: ZMQ ]============================================

LoadError: failed process: Process(`sudo apt-get install libzmq3`, ProcessExited(1)) [1]
while loading /home/username/.julia/v0.6/ZMQ/deps/build.jl, in expression starting on line 35

======================================================================================================

===========================================[ BUILD ERRORS ]===========================================

WARNING: ZMQ had build errors.

 - packages with build errors remain installed in /home/username/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("ZMQ")`
 - build a single package by running its `deps/build.jl` script

======================================================================================================

と出てきたので

Pkg.build("ZMQ")

とするも失敗

sudo apt-get install libzmq3

で入れてあげて,もう一度

Pkg.add("IJulia")
Pkg.add("IJulia")

で通りました

いつのように

jupyter notebook

でJupyterを立ち上げると,Juliaが選択できるようになっていました

3
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
3
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?