jupyter導入

本体のインストール

pip install jupyter

拡張機能(nbextensions)のインストール/有効化

pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextension enable codefolding/main
jupyter contrib nbextensions migrate

pipのバージョンが新しすぎるとエラーになるので、9.0.3にダウングレードする必要がある

実行

jupyter notebook
  • 実行時にブラウザが勝手に起動して開く
  • localhost:8888 にアクセスしてもOK
  • Nbextensionsタブで拡張機能を有効化できる
  • hinterland がコード補完機能

その他

jupyter nodebookの後継でjupyterlabというのがあるらしい

→こっちではまだコード補完が使えない

Written on July 10, 2019