<br />
<b>Deprecated</b>:  関数 add_custom_background は、バージョン 3.4.0 から<strong>非推奨</strong>になりました ! 代わりに add_theme_support( 'custom-background', $args ) を使用してください。 in <b>/usr/home/WWW/cml-office/memolog/wp-includes/functions.php</b> on line <b>6131</b><br />
<br />
<b>Notice</b>:  関数 register_sidebar が<strong>誤って</strong>呼び出されました。「sidebar」サイドバーの引数の配列で <code>id</code> が設定されませんでした。既定では「sidebar-1」です。<code>id</code> に「sidebar-1」を設定することでこの情報を消して、既存のサイドバーのコンテンツを保つことができます。 詳しくは <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">WordPress のデバッグ</a>をご覧ください。 (このメッセージはバージョン 4.2.0 で追加されました) in <b>/usr/home/WWW/cml-office/memolog/wp-includes/functions.php</b> on line <b>6131</b><br />
{"id":438,"date":"2018-01-06T13:47:11","date_gmt":"2018-01-06T04:47:11","guid":{"rendered":"http:\/\/www.cml-office.org\/memolog\/?p=438"},"modified":"2018-01-06T13:47:11","modified_gmt":"2018-01-06T04:47:11","slug":"jupyter-notebook%e3%81%a8julia%e3%81%aa%e3%81%a9%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.cml-office.org\/memolog\/?p=438","title":{"rendered":"Jupyter notebook\u3068julia\u306a\u3069\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<h2>brew\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8<\/h2>\n<p>\u3000\u4ed5\u4e8b\u5834\u3068\u304a\u3046\u3061\u306eMacBook Pro\uff08macOS Sierra 10.12.6\uff09\u306b\u3001Jupyter notebook\u3068julia\u306a\u3069\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u3067\u30e1\u30e2\u3002<\/p>\n<p>\u3000\u6700\u8fd1\u306f\u666e\u901a\u306e\u30a2\u30d7\u30ea\u3070\u3063\u304b\u308a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u308b\u3057TeX\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u304c\u3042\u308b\u3057\u3067\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u304b\u3089\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u305a\u3063\u3068\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u3002\u305d\u306e\u9593\u306bOS\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u4e0a\u304c\u3063\u305f\u308a\u3057\u3066\u308b\u306e\u3067\u3001\u307e\u305a\u306fbrew\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304b\u3089\u3002\u306a\u304a\u3001\u958b\u767a\u30c4\u30fc\u30eb\u306eXCode\u306f\u6700\u65b0\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306a\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u307e\u305aApp Store\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3068\u5f8c\u304c\u697d\u304b\u3082\u3002<\/p>\n<pre><code>\n$ brew doctor\n<\/code><\/pre>\n<p>\u3092\u5b9f\u884c\u3057\u3066\u3001\u7279\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u305b\u3088\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u306a\u3051\u308c\u3070\u6b21\u306e\u4f5c\u696d\u306f\u3059\u3063\u98db\u3070\u3057\u3066\u53c2\u8003\u30b5\u30a4\u30c8\u306e\u901a\u308a\u306b\u5b9f\u884c\u3059\u308c\u3070\u826f\u3044\u3002\u79c1\u306e\u74b0\u5883\u3067\u306f\u3001Warning\u304c\u3044\u304f\u3064\u304b\u51fa\u305f\u5f8c\u3001<\/p>\n<pre><code>\nYou haven't updated for at least 24 hours. This is a long time in brewland!\nTo update Homebrew, run `brew update`.\n<\/code><\/pre>\n<p>\u3068\u8868\u793a\u3055\u308c\u305f\u306e\u3067\u3001\u307e\u305a\u306f\u7d20\u76f4\u306b\u3001<\/p>\n<pre><code>\n$ brew update\n<\/code><\/pre>\n<p>\u3092\u5b9f\u884c\u3002\u3059\u308b\u3068\u3001<\/p>\n<pre><code>\nYou should probably change the ownership and permissions of \/usr\/local\nback to your user account.\n  sudo chown -R $(whoami):admin \/usr\/local\n<\/code><\/pre>\n<p>\u3068\u8868\u793a\u3055\u308c\u305f\u3002\/usr\/local\u306e\u6240\u6709\u8005\u3063\u3066\u3001root\u306b\u3057\u3066\u304a\u304f\u306e\u304b\u306a\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001\u3069\u3046\u3082\u9055\u3046\u3089\u3057\u3044\u3002\u5b9f\u306f\u3001\u9577\u304f\u4f7f\u3063\u3066\u3044\u308b\u9593\u306broot:admin, root:wheel, apj:admin\uff08\u79c1\uff09\u304c\/usr\/local\u4ee5\u4e0b\u306b\u6df7\u5728\u3057\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u3053\u306e\u969b\u3001root:wheel\u306b\u7d71\u4e00\u3057\u3088\u3046\u304b\u3068\u601d\u3063\u3066\u8a66\u3057\u3066\u307f\u305f\u306e\u3060\u3051\u3069\u3001root\u3092\u6240\u6709\u8005\u306b\u3057\u305f\u5f8c\u3067\u3001root\u6a29\u9650\u3067brew\u3092\u5b9f\u884c\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3044\u305f\u3002\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u307e\u305f\u3082\u7d20\u76f4\u306b\u3001<\/p>\n<pre><code>\n$ sudo chown -R $(whoami):admin \/usr\/local\n<\/code><\/pre>\n<p>\u3092\u5b9f\u884c\u3002\u305d\u306e\u5f8c\u3067\u3001<\/p>\n<pre><code>\n$ brew update\n<\/code><\/pre>\n<p>\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u66ab\u304f\u5f85\u305f\u3055\u308c\u305f\u5f8c\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u5b8c\u4e86\u3057\u305f\u3002\/usr\/local\/Homebrew\u4ee5\u4e0b\u306bbrew\u306e\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u304c\u7f6e\u304b\u308c\u305f\u72b6\u614b\u306b\u306a\u308b\u3002which brew\u3059\u308b\u3068\/usr\/local\/bin\/brew\u304c\u51fa\u308b\u304c\u3001\u3053\u308c\u306f\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3067\u3001\u5b9f\u4f53\u306f\/usr\/local\/Homebrew\/bin\/brew\u3067\u3042\u308b\u3002\n<\/p>\n<p>\u3053\u308c\u3067brew\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u7d42\u308f\u3063\u305f\u306e\u3067\u3001\u30c1\u30a7\u30c3\u30af\u306e\u305f\u3081\u306b<\/p>\n<pre><code>\n$ brew doctor\n<\/code><\/pre>\n<p>\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001<\/p>\n<pre><code>\n\/usr\/local\/bin\/brew: line 9: \/usr\/local\/bin\/readlink: Bad CPU type in executable\n\/usr\/local\/bin\/brew: line 9: \/usr\/local\/bin\/readlink: Bad CPU type in executable\n\/bin\/bash: \/usr\/local\/Library\/Homebrew\/brew.sh: No such file or directory\n<\/code><\/pre>\n<p>\u3068\u306a\u3063\u3066\u52d5\u304b\u306a\u3044\u3002\u3069\u3046\u3082\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u65b9\u306f64-bit\u3067\u52d5\u3044\u3066\u3044\u308b\u306e\u306b\u3001\/usr\/local\/bin\/readlink\u304c32-bit\u3067\u52d5\u3044\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3089\u3057\u3044\u3002\u5909\u306a\u3082\u306e\u3092\u52d5\u304b\u3059\u306e\u3082\u30a2\u30ec\u306a\u306e\u3067\u3001<\/p>\n<pre><code>\n$ sudo find \/ -name \"readlink\" -ls\n<\/code><\/pre>\n<p>\u3057\u3066\u63a2\u3057\u3066\u307f\u308b\u3068\u3001\n<\/p>\n<pre><code>\n421811       24 -rwxr-xr-x    1 root             wheel               27456  7 15 13:27 \/usr\/bin\/readlink\n1153733       32 -rwxrwxrwx    1 apj              admin               13772  3 10  2004 \/usr\/local\/bin\/readlink\n<\/code><\/pre>\n<p>\u304c\u898b\u3064\u304b\u3063\u305f\u3002\u591a\u5206\u3001\/usr\/bin\/readlink\u304c\u6b63\u89e3\u3067\u3001\/usr\/local\/bin\/readlink\u306f2004\u5e74\u306e\u3082\u306e\u2026\u2026\u3063\u3066\u3081\u3063\u3061\u3083\u53e4\u3044\uff01\u53e4\u3044\u3084\u3064\u304c\u5165\u3063\u3066\u308b\u7406\u7531\u306f\u5fd8\u308c\u305f\u304c\u3001LaTeX\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u95a2\u4fc2\u3067export PATH\u3092\u3057\u305f\u6642\u306b\/usr\/bin\u3088\u308a\u3082\/usr\/local\/bin\u3092\u5148\u306b\u898b\u306b\u884c\u304f\u3088\u3046\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u53e4\u3044\u65b9\u3092\u5148\u306b\u898b\u3064\u3051\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u305f\u3089\u3057\u3044\u3002\u305d\u3053\u3067\u3001\uff08\u524a\u9664\u3057\u3061\u3083\u3063\u3066\u3082\u554f\u984c\u306a\u3044\u3093\u3060\u308d\u3046\u3051\u3069\u3068\u308a\u3042\u3048\u305a\uff09\n<\/p>\n<pre><code>\n$ mv \/usr\/local\/bin\/readlink \/usr\/local\/bin\/readlink.2004.old\n<\/code><\/pre>\n<p>\u3068\u540d\u524d\u3092\u5909\u3048\u3066\u304b\u3089whith readlink\u3059\u308b\u3068\u3001\/usr\/bin\/readlink\u3092\u898b\u3064\u3051\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u3053\u308c\u3067\u3001\u30a8\u30e9\u30fc\u306f\u51fa\u306a\u304f\u306a\u3063\u305f\u3002\u518d\u5ea6\u3001brew doctor\u3059\u308b\u3068\u3001\/usr\/local\/lib\u306bbrew\u3067\u7ba1\u7406\u3057\u3066\u306a\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u3063\u3066\u30c8\u30e9\u30d6\u30eb\u306e\u5143\u3060\u3068\u8b66\u544a\u3055\u308c\u308b\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u7121\u8996\u3057\u3001\n<\/p>\n<pre><code>\nWarning: Xcode alone is not sufficient on Sierra.\nInstall the Command Line Tools:\n  xcode-select --install\n<\/code><\/pre>\n<p>\u306b\u5bfe\u5fdc\u3002\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089xcode-select &#8211;install\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u300c\u201dxcode-select&#8221;\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30fb\u30c7\u30d9\u30ed\u30c3\u30d1\u30fb\u30c4\u30fc\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002\u30c4\u30fc\u30eb\u3092\u4eca\u3059\u3050\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u304b\uff1f\u300d\u3068\u3044\u3046\u8868\u793a\u304c\u5225\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u958b\u304f\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u30af\u30ea\u30c3\u30af\u3002XCode\u3092\u5165\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u3001XCode\u3082\u4e00\u7dd2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30dc\u30bf\u30f3\u3082\u3042\u308b\u306e\u3067\u305d\u3061\u3089\u3092\u30af\u30ea\u30c3\u30af\u3059\u308c\u3070\u826f\u3044\u3002<\/p>\n<pre><code>\nWarning: Your XQuartz (2.7.7) is outdated.\nPlease install XQuartz 2.7.11 (or delete the current version).\nXQuartz can be updated using Homebrew-Cask by running\n  brew cask reinstall xquartz\n<\/code><\/pre>\n<p>\u3068\u3001<\/p>\n<pre><code>\nWarning: Some installed formula are missing dependencies.\nYou should `brew install` the missing dependencies:\n  brew install pcre\n<\/code><\/pre>\n<p>\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u304a\u304f\u3002\u3044\u305a\u308c\u3082\u305d\u308c\u305e\u308c\u4e00\u756a\u4e0b\u306e\u884c\u3092\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u30b3\u30d4\u30da\u3057\u3066Enter\u3092\u62bc\u3059\u3060\u3051\u3002<\/p>\n<pre><code>\n$ brew prune\n<\/code><\/pre>\n<p>\u3082\u5b9f\u884c\u3057\u3066\u304a\u304f\u3002<\/p>\n<h2>Python, anaconda\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb <\/h2>\n<p>\u3084\u308a\u65b9\u306f<a href=\"https:\/\/qiita.com\/Haji-Fuji\/items\/9e3d6ca46eb02f3c241f\" target=\"_blank\">https:\/\/qiita.com\/Haji-Fuji\/items\/9e3d6ca46eb02f3c241f<\/a>\u306b\u66f8\u3044\u3066\u3042\u308b\u901a\u308a\u3002\u307e\u305a\u306fpyenv\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u4ee5\u4e0b\u306e\u5185\u5bb9\u30921\u884c\u305a\u3064\u30b3\u30d4\u30da\u3057\u3066\u5b9f\u884c\u3002<\/p>\n<pre><code>\n$ brew install pyenv\n$ brew install pyenv-virtualenv\n<\/code><\/pre>\n<p>\u74b0\u5883\u5909\u6570\u306e\u767b\u9332\u3002<\/p>\n<pre><code>\n$ echo 'export PYENV_ROOT=\"$HOME\/.pyenv\"' >> ~\/.bash_profile\n$ echo 'export PATH=\"$PYENV_ROOT\/bin:$PATH\"' >> ~\/.bash_profile\n$ echo 'eval \"$(pyenv init -)\"' >> ~\/.bash_profile\n<\/code><\/pre>\n<p>\u767b\u9332\u3057\u305f\u3089\u3001shell\u306b\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u307e\u305b\u308b\u3002<\/p>\n<pre><code>\n$ source .bash_profile\n<\/code><\/pre>\n<p>pyenv\u3092\u4f7f\u3063\u3066anaconda\u306a\u3069\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u4ee5\u4e0b\u30921\u884c\u305a\u3064\u30b3\u30d4\u30da\u3057\u3066\u5b9f\u884c\u3002<\/p>\n<pre><code>\n$ pyenv install 3.6.0\n\n$ pyenv install anaconda3-4.3.1\n\n$ pyenv global anaconda3-4.3.1\n$ conda create --name py3.6.0 python=3.6.0\n$ pyenv local anaconda3-4.3.1\/envs\/py3.6.0\n$ pyenv global system\n$ source $PYENV_ROOT\/versions\/anaconda3-4.3.1\/bin\/activate py3.6.0\n<\/code><\/pre>\n<h2>Jupiter Notebook\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u30891\u884c\u305a\u3064\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u3066\u5b9f\u884c\u3059\u308b\u3060\u3051\u3002<\/p>\n<pre><code>\n$ pip install jupyter\n$ pip install \"ipython[notebook]\"\n<\/code><\/pre>\n<p>\u8d77\u52d5\u3059\u308b\u306b\u306f\u3001<\/p>\n<pre><code>\n$ jupyter notebook\n<\/code><\/pre>\n<p>\u7d42\u4e86\u3059\u308b\u306b\u306fCtrl-C\u3092\u5165\u529b\u3002<\/p>\n<h2>gfortran\u3068cmake\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>julia\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001gfortran\u3068cmake\u304c\u5fc5\u8981\u306b\u306a\u308b\u3002gfortran\u306fgcc\u306b\u7d71\u5408\u3055\u308c\u305f\u306e\u3067\u3001gcc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u81ea\u52d5\u7684\u306bgfortran\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre><code>\n$ brew install gcc\n<\/code><\/pre>\n<p>\u3057\u3066\u3001whitch gfortran\u3092\u5b9f\u884c\u3057\u3001\/usr\/local\/bin\/gfortran\u3068\u51fa\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3002cmake\u306e\u65b9\u306f\u3001\n<\/p>\n<pre><code>\n$ brew install cmake\n<\/code><\/pre>\n<p>\u3067\u826f\u3044\u3002<\/p>\n<h2>julia\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p><a href=\"https:\/\/qiita.com\/phigasui\/items\/8af41d1bcbe7ef276cfe\" target=\"_blank\">https:\/\/qiita.com\/phigasui\/items\/8af41d1bcbe7ef276cfe<\/a>\u3092\u53c2\u8003\u306b\u3057\u305f\u3001\u3068\u3044\u3046\u304b\u307b\u3068\u3093\u3069\u3053\u306e\u30b5\u30a4\u30c8\u306e\u901a\u308a\u3002<\/p>\n<pre><code>\n$ sudo xcodebuild -license\n<\/code><\/pre>\n<p>\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001license agreement\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001space\u3092\u53e9\u3044\u3066\u6700\u5f8c\u307e\u3067\u8aad\u3093\u3067\u3001&#8217;q&#8217;\u3067\u629c\u3051\u305f\u3042\u3068\u3001agree\u3059\u308b\u304b\u3069\u3046\u304b\u304d\u304b\u308c\u308b\u306e\u3067\u3001agree\u30bf\u30a4\u30d7\u3057\u3066Enter\u3002<\/p>\n<p>julia\u3092\u3082\u3089\u3063\u3066\u304f\u308b\u3002<\/p>\n<pre><code>\n$ git clone https:\/\/github.com\/JuliaLang\/julia.git\n<\/code><\/pre>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u7d42\u308f\u3063\u305f\u3089\u3001<\/p>\n<pre><code>\n$ cd julia\n$ git tag\n<\/code><\/pre>\n<p>\u30b9\u30da\u30fc\u30b9\u3092\u53e9\u3044\u3066\u6700\u5f8c\u307e\u3067\u898b\u308b\u3068\u3001v0.6.2\u304c\u3042\u308b\u3002<\/p>\n<pre><code>\n$ git checkout v0.6.2\n<\/code><\/pre>\n<p>\u6b21\u306b\u3001<\/p>\n<pre><code>\n$ system_profiler SPHardwareDataType | grep Cores\n<\/code><\/pre>\n<p>\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a6\u30c1\u306e\u74b0\u5883\u3067\u306fTotal Number of Cores: 4\u3068\u51fa\u305f\u306e\u3067\u3001\u4e0a\u8a18\u30b5\u30a4\u30c8\u306e\u30a2\u30c9\u30d0\u30a4\u30b9\u306b\u5f93\u3063\u3066<\/p>\n<pre><code>\n$ make -j4\n<\/code><\/pre>\n<p>\u3092\u5b9f\u884c\u3002\u305f\u3060\u3001make\u3059\u308b\u524d\u306b\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u30ed\u30b0\u3092\u30af\u30ea\u30a2\u3059\u308b\u304b\u3001\u65b0\u3057\u3044\u30bf\u30fc\u30df\u30ca\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3084\u3063\u305f\u65b9\u304c\u826f\u3044\u3002\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u306f\u9577\u3044\u3057\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u9577\u5927\u3067\u6700\u9577\u4e0d\u5012\u30e1\u30c3\u30bb\u30fc\u30b8\u304b\u3053\u308c\u306f\u3001\u3063\u3066\u52e2\u3044\u306a\u306e\u3067\u3001\u9014\u4e2d\u3067\u3069\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u304b\u306f\u5f8c\u304b\u3089\u691c\u7d22\u3057\u3066\u63a2\u3059\u3053\u3068\u306b\u306a\u308b\u3002\u3060\u304b\u3089\u30af\u30ea\u30a2\u3057\u3066\u304b\u3089\u3084\u3089\u306a\u3044\u3068\u3001\u3053\u308c\u4ee5\u524d\u306e\u624b\u9806\u3067\u51fa\u305f\u30a8\u30e9\u30fc\u307e\u3067\u3072\u3063\u304b\u304b\u3063\u3066\u9762\u5012\u81ed\u3044\u3002\u5225\u306e\u4ed5\u4e8b\u3092\u3057\u3066\u304a\u8336\u6df9\u308c\u3066\u4f11\u61a9\u3057\u3066\u2026\u2026\u304f\u3089\u3044\u5f85\u3066\u3070\u7d42\u4e86\u3002<\/p>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001$Home\/julia\/usr\/bin\/julia\u304c\u3067\u304d\u3066\u3066\u3001\u3053\u308c\u304c\u5b9f\u4f53\u3002<\/p>\n<p>\u30d1\u30b9\u3092\u901a\u3059\u305f\u3081\u306b\u3001$Home\u306b\u623b\u308a\u3001.bash_profile\u306e\u6700\u5f8c\u306b\u3001\n<\/p>\n<pre><code>\nsource ~\/.bashrc\n<\/code><\/pre>\n<p>\u3092\u8ffd\u52a0\u3059\u308b\u3002~.\/bashrc\u306b\u306f\u3001<\/p>\n<pre><code>\nalias julia='~\/julia\/usr\/bin\/julia'\n<\/code><\/pre>\n<p>\u3068\u66f8\u3044\u3066\u304a\u304f\u3002\u66f8\u304d\u63db\u3048\u305f\u3089\u5fd8\u308c\u305a\u3001source ~.\/bash_profile\u3002julia\u3068\u5165\u529b\u3057\u3066\u3001\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002\u629c\u3051\u308b\u6642\u306fCtrl-D\u3002<\/p>\n<h2>Jupyter Notebook\u3068\u306e\u9023\u643a<\/h2>\n<p>\u4e0a\u8a18\u30b5\u30a4\u30c8\u306e\u624b\u9806\u901a\u308a\u3067\u3001julia\u304b\u3089\u884c\u3046\u3002\u307e\u305ajulia\u3092\u8d77\u52d5\u3057\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067<\/p>\n<pre><code>\njulia> Pkg.update()\njulia> Pkg.add(\"IJulia\")\n<\/code><\/pre>\n<p>\u3068\u306a\u308b\u3088\u3046\u306b1\u884c\u305a\u3064\u5165\u529b\u3057\u3066\u5b9f\u884c\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306e\u30c1\u30a7\u30c3\u30af\u306f\u3001<\/p>\n<pre><code>\n$ jupyter kernelspec list\nAvailable kernels:\nAvailable kernels:\n  julia-0.6    \uff04Home\/Library\/Jupyter\/kernels\/julia-0.6\n  python3     $Home\/.pyenv\/versions\/anaconda3-4.3.1\/envs\/py3.6.0\/share\/jupyter\/kernels\/python3\n$ jupyter notebook\n<\/code><\/pre>\n<p>\u53f3\u4e0a\u306eNew\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001Julia\u3068Python\u304c\u9078\u3079\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308c\u3070\u591a\u5206OK\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>brew\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8 \u3000\u4ed5\u4e8b\u5834\u3068\u304a\u3046\u3061\u306eMacBook Pro\uff08macOS Sierra 10.12.6\uff09\u306b\u3001Jupyter notebook\u3068julia\u306a\u3069\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u3067\u30e1\u30e2\u3002 \u3000\u6700\u8fd1\u306f\u666e\u901a\u306e\u30a2\u30d7\u30ea\u3070\u3063\u304b\u308a\u30a4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=\/wp\/v2\/posts\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=438"}],"version-history":[{"count":1,"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions"}],"predecessor-version":[{"id":440,"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions\/440"}],"wp:attachment":[{"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cml-office.org\/memolog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}