タイトル: Jupyter Notebookが起動しない場合の対処方法
本稿はjupyter notebookが起動しない場合の対処法を記載します。
ブラウザは表示されるがjupyter notebookの画面にならない場合
「jupyter notebook」を端末で実行すると、以下の黄文字のURLが出現する。
ブラウザにURLを貼り付ければOK。
$ jupyter notebook
[I 22:56:29.080 NotebookApp] The port 8888 is already in use, trying another port.
[I 22:56:29.081 NotebookApp] The port 8889 is already in use, trying another port.
[I 22:56:29.112 NotebookApp] JupyterLab beta preview extension loaded from /home/ ... /anaconda3/lib/python3.6/site-packages/jupyterlab
[I 22:56:29.112 NotebookApp] JupyterLab application directory is /home/ ... /anaconda3/share/jupyter/lab
[I 22:56:29.117 NotebookApp] Serving notebooks from local directory: /home/ ...
[I 22:56:29.117 NotebookApp] 0 active kernels
[I 22:56:29.117 NotebookApp] The Jupyter Notebook is running at:
[I 22:56:29.117 NotebookApp] http://localhost:8890/?token=ff9363cdace65c5dd41abc919a3d5aa74df48600c60ad65e
[I 22:56:29.117 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 22:56:29.119 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8890/?token=ff9363cdace65c5dd41abc919a3d5aa74df48600c60ad65e&token=ff9363cdace65c5dd41abc919a3d5aa74df48600c60ad65e
ATTENTION: default value of option force_s3tc_enable overridden by environment.
既存のブラウザ セッションに新しいウィンドウが作成されました。
[I 22:56:54.597 NotebookApp] 302 GET /?token=ff9363cdace65c5dd41abc919a3d5aa74df48600c60ad65e (127.0.0.1) 0.87ms
[I 23:01:02.235 NotebookApp] 302 GET /?token=ff9363cdace65c5dd41abc919a3d5aa74df48600c60ad65e&token=ff9363cdace65c5dd41abc919a3d5aa74df48600c60ad65e (127.0.0.1) 0.59ms
|
※毎回コピペめんどいので、きちんとコマンドだけで起動する方法募集