Dockerでjupyter notebookを動かす
![Thumbnail of post image 197](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/mockaroon-bzLhhI3MpYY-unsplash.jpg?resize=150%2C150&ssl=1)
Dockerでjupyter notebookを動かすときには,単に,jupyter notebookと打つのではなく,少々設定が必要である.
まずは設定ファイルを作成
jupyter notebook --gene ...Notebook上にLatexで書いた数式や画像を簡単に表示
![Thumbnail of post image 090](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/erik-dungan-MQyCrJVFG8U-unsplash.jpg?resize=150%2C150&ssl=1)
from IPython.display import display, Markdown, Latexdisplay(Markdown('*some markdown* $\phi$'))display(Latex('\phi'))x = ...
正しいトークンを入力しているにも関わらずinvalid credential[Jupyter]
![Thumbnail of post image 129](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/debby-hudson-hWVVtG0d8jM-unsplash.jpg?resize=150%2C150&ssl=1)
Jupyter notebook初回起動の際,正しいトークンを入力しているにも関わらずinvalid credentialが出るときには以下を試してみよう.
configを生成.もし既に存在していて,上書きの確認が ...
再起動すると8888でないポートになる問題の対策[Jupyter]
![Thumbnail of post image 085](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/brooke-lark-HlNcigvUi4Q-unsplash.jpg?resize=150%2C150&ssl=1)
jupyter notebook や jupyter labを2回以上起動すると,最初はデフォルトのポート8888で起動するのに,2回目以降は8889とか8890で起動するという困ったことがある.
そんな時は以下のコマンド ...
CUIに出力を表示させずに起動[Jupyter]
![Thumbnail of post image 075](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/izabelle-acheson-aolXWwy-DiY-unsplash.jpg?resize=150%2C150&ssl=1)
jupyter lab --no-browser --port=8888 --ip=0.0.0.0 --allow-root &
Control+C を押してもサーバーが止まることは無くなる.
しかし,Jupyter ...
jupyter-notebookを起動する時のコマンド[jupyter]
![Thumbnail of post image 108](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/izabelle-acheson-aolXWwy-DiY-unsplash.jpg?resize=150%2C150&ssl=1)
jupyter notebook --port=8888 --ip=0.0.0.0 --allow-root
Jupyter labをDockerコンテナで使うときのコマンド[Jupyter]
![Thumbnail of post image 044](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/debby-hudson-hWVVtG0d8jM-unsplash.jpg?resize=150%2C150&ssl=1)
jupyter lab --ip 0.0.0.0 --allow-root
AWSのサーバーでJupyterを動かす[AWS][Jupyter]
![Thumbnail of post image 103](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/brooke-lark-HlNcigvUi4Q-unsplash.jpg?resize=150%2C150&ssl=1)
AWSにサーバーを立てて、Jupyterをインストールした時のことをレポート。
まずは、LightsailでAWSにサーバーを立てる。
Lightsailサーバーのインストール自体はすごく簡単で、料金も月3.5 ...