LoginSignup
10
9

More than 5 years have passed since last update.

Jupyter notebookでOctaveを使えるようにする

Last updated at Posted at 2017-03-31

以前にanacondaを入れたので、OctaveをJupyter notebookで使えるようにします
(anacondaのインストール)

環境

  • hostOS: windows10
  • guestOS: CentOS7
  • Anaconda 4.3.1
  • jupyter 4.2.1

octave kernelのインストール

command-line
$ conda install -c conda-forge octave_kernel

今回はcondaを使ってインストールしましたが、pipでもできます。

Jupyter notebookで実行

plot使うと警告でる

warning: print.m: ghostscript not found in PATH
warning: print.m: Ghostscript binary is not available

とりあえずghostscriptをインストール

command-line
$ sudo yum install ghostscript.x86_64

これでplotしてみると・・・

screenshot.png

plotできました!!

参考

10
9
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
10
9