0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

datascience-nootebookでjupyter_notebook_configが読み込まれない

Last updated at Posted at 2022-08-21

はじめに

この記事は2022年2月にまとめていた「細かいつまずいたことをメモしておく(2月編)をそれぞれ投稿した内容になります
解決方法が最新でない可能性もありますのでご了承ください

問題

以下の設定をjupyter_notebook_config.pyにしたのだが設定が読み込まれなかった

jupyter-notebook_config.py
c.NotebookApp.port = 8000

解決方法

検証したところこれはjupyter/datascience-notebook特有の問題っぽかった
パスワードを設定していたので、その設定をDockerfileに移すとうまく動くようになった

CMD  /bin/sh -c "jupyter notebook \
    --NotebookApp.password='sha1:718dd5f3b9a5:a997a62e22ea4347b30b2692c5432d893ec98f63'"

また、パスワードの設定をなくすとなぜかポートが8888になってしまった
よくわからないがこの設定で動くようになったので変更した

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?