flagflag  
4: 2020-08-15 (Sat) 22:20:08 iseki source 5: 2020-08-16 (Sun) 18:18:23 iseki source
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


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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 31
Today

Who's Online

95 user(s) are online (37 user(s) are browsing xpwiki)

Members: 0
Guests: 95

more...

Access Counter

Today : 2426242624262426
Yesterday : 1361113611136111361113611
Total : 2364083323640833236408332364083323640833236408332364083323640833
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com