flagflag  If you want to see English page, please click "English" Button at Left.
4: 2020-08-15 (土) 22:20:08 iseki ソース 5: 2020-08-16 (日) 18:18:23 iseki ソース
Line 1: Line 1:
 +* Jupyter [#ud5a4e75]
** Jupyter Notebook [#d5ab1922] ** Jupyter Notebook [#d5ab1922]
 +
*** With Anaconda [#wf6eba52] *** With Anaconda [#wf6eba52]
- Python(pip) 環境で入れる方法と [[Anaconda]] 環境で入れる方法がある. - Python(pip) 環境で入れる方法と [[Anaconda]] 環境で入れる方法がある.
Line 8: Line 10:
#br #br
-*** Jupyter NoteBook [#q6ca7076]+*** Install [#nb5b4afb] 
 + INSTALL
 (base) conda install -c conda-forge notebook  (base) conda install -c conda-forge notebook
#br #br
-*** JupyterLab [#b387f244] 
-- Jupyter Notebookの後継. 
-- WebアプリケーションによるIDE 
 +** JupyterLab [#b387f244]
 +- Jupyter Notebookの後継. WebアプリケーションによるIDE
 +- ''jupyterhub_config.py'' で ''c.Spawner.default_url = '/lab''' とする
 +
 + Install
 (base) conda install -c conda-forge jupyterlab -y  (base) conda install -c conda-forge jupyterlab -y
 +
#br #br
-*** JupyterHub [#mb71944e]+** JupyterHub [#mb71944e]
- Jupyterサーバー(ユーザ認証機能つき) - Jupyterサーバー(ユーザ認証機能つき)
- https://horomary.hatenablog.com/entry/20​19/11/09/181614 - https://horomary.hatenablog.com/entry/20​19/11/09/181614
#br #br
-**** INSTALL [#nfb5f43c]+*** INSTALL [#nfb5f43c]
 (base) conda create -n jupyterhub python=3.8 -y  (base) conda create -n jupyterhub python=3.8 -y
 (base) conda activate jupyterhub  (base) conda activate jupyterhub
Line 37: Line 43:
#br #br
-**** [[Docker]] が必要 [#c1353e30]+*** 設定 [#idb49705] 
 +- jupyterhub --generate-config を実行すると カレントディレクトリに設定ファイル ''jupyterhub_config.py'' が生成される. 
 +- 個人的には jupyterhub が /usr/local 以下にある場合は /usr/local/etc/jupyterhub 以下に置く.
#br #br
-*** Trouble Shooting [#rf83821d] + 
-**** JupyterHub: PAM使用時に login して logoutし,もう一回 login するとPAMの認証エラーになる. [#cec1cefc]+*** 実行 [#a826d7f6] 
 + (base) conda activate jupyterhub 
 + (jupyterhub) jupyterhub --no-ssl -f /usr/local/etc/jupyterhub/jupyterhub_con​fig.py 
 +#br 
 + 
 +*** 使用ポート [#me192c34] 
 +- 8000 
 +- 8081 
 +- 8888 (Docker用?) 
 +#br 
 + 
 +*** jovyan って誰? [#w4a21247] 
 +- Docker を使用すると,作業ディレクトリが /home/jovyan/work 固定なのだが? 
 +- c.DockerSpawner.notebook_dir 辺りをいじっても変化しない? 
 +#br 
 + 
 +** Trouble Shooting [#rf83821d] 
 + 
 +*** JupyterHub: PAM使用時に 再login するとPAMの認証エラーになる. [#cec1cefc] 
 +- バグだろ.
- Resolve: jupyterhub_config.py に ''c.PAMAuthenticator.open_sessions = False'' を追加する - Resolve: jupyterhub_config.py に ''c.PAMAuthenticator.open_sessions = False'' を追加する
- see: https://github.com/jupyterhub/jupyterhub​/issues/486 - see: https://github.com/jupyterhub/jupyterhub​/issues/486
#br #br


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

87 人のユーザが現在オンラインです。 (21 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 87

もっと...

アクセスカウンタ

今日 : 1656916569165691656916569
昨日 : 1529415294152941529415294
総計 : 2341126923411269234112692341126923411269234112692341126923411269
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com