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.

jupyte labでパスワードを求められたとき

Posted at

jupyte labでパスワードを求められて操作できなくなった。

スクリーンショット 2022-09-10 21.39.13.png

このような画像に

【解決策】config.pyを編集する。

jupyter_notebook_config.pyを作成

ターミナルで下記のようにコマンドを打って
jupyter_notebook_config.pyを生成
ファイルを編集するためにファイルを開く
※編集するツールは好みのものを、今回はvscodeを使用。

jupyter notebook --generate-config
code /Users/hoge/.jupyter/jupyter_notebook_config.py

hogeはPCのユーザネーム

jupyter_notebook_config.pyのpasswordとtokenを編集

下記のようのtokenとpasswordにコメントアウトを外して任意の文字列を追加。
jupyter_notebook_config_py.png
jupyter_notebook_config_py.png

参考資料

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?