8
9

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 5 years have passed since last update.

jupyter 4.0のパスワード設定

Posted at

jupyter インストール

anaconda一択

config周りについて

jupyter 4.0でconfig周りが結構変わったようなので要確認
https://jupyter.readthedocs.org/en/latest/migrating.html

configファイルの作成とパスワードの設定

参考URL

conda install ipywidgets # ipywidgets入れておく
jupyter notebook --generate-config
#Writing default config to: ~/.jupyter/jupyter_notebook_config.py
ipython

pythonでハッシュパスワードを生成する

In [1]: from notebook.auth import passwd;passwd()
Enter password:
Verify password:
Out[1]: 'sha1:........'
# ハッシュパスワードをコピーしておく
vi ~/.jupyter/jupyter_notebook_config.py

93行目からハッシュパスワードの記載あり。
100行目にコピーしたハッシュパスワードを張り付ける

c.NotebookApp.password ='sha1:<ハッシュ>'
8
9
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
8
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?