python:jupyter_notebook

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
python:jupyter_notebook [2019/08/08 22:24] – [参考文献] ともやんpython:jupyter_notebook [2020/09/11 16:57] ともやん
行 1: 行 1:
-<ifauth !@loggedinusers><html> 
-<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> 
-<script> 
-     (adsbygoogle = window.adsbygoogle || []).push({ 
-          google_ad_client: "ca-pub-0791334967460971", 
-          enable_page_level_ads: true 
-     }); 
-</script></html></ifauth> 
-<html> 
-  <style> 
-    #result pre { 
-      height: 200px; 
-      overflow: scroll; 
-      overflow-x: hidden; 
-    } 
-  </style> 
-</html> 
 ====== Jupyter Notebook ====== ====== Jupyter Notebook ======
-{{:python:jupyter-logo.svg?100|Jupyter Logo}}\\+<WRAP #logo> 
 +{{python:jupyter-logo.svg?100|Jupyter Logo}} 
 +</WRAP>
 本家: [[https://jupyter.org/|Project Jupyter | Home]]\\ 本家: [[https://jupyter.org/|Project Jupyter | Home]]\\
 ソースコード: [[https://github.com/jupyter/notebook|GitHub - jupyter/notebook: Jupyter Interactive Notebook]]\\ ソースコード: [[https://github.com/jupyter/notebook|GitHub - jupyter/notebook: Jupyter Interactive Notebook]]\\
行 32: 行 17:
 > pip install jupyter ipykernel > pip install jupyter ipykernel
 </code> </code>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% #result_long>
 <code> <code>
 Collecting jupyter Collecting jupyter
行 199: 行 184:
  
 **%HOMEPATH%\.jupyter\jupyter_notebook_config.py** を生成する。\\ **%HOMEPATH%\.jupyter\jupyter_notebook_config.py** を生成する。\\
 +<WRAP prewrap 100%>
 <code> <code>
 (jupyter) > jupyter notebook --generate-config (jupyter) > jupyter notebook --generate-config
 Writing default config to: C:\Users\tomoyan\.jupyter\jupyter_notebook_config.py Writing default config to: C:\Users\tomoyan\.jupyter\jupyter_notebook_config.py
 </code> </code>
 +</WRAP>
  
 **%HOMEPATH%\.jupyter\jupyter_notebook_config.py** を編集する。\\ **%HOMEPATH%\.jupyter\jupyter_notebook_config.py** を編集する。\\
 +<WRAP prewrap 100%>
 <code python> <code python>
 # Configuration file for jupyter-notebook. # Configuration file for jupyter-notebook.
行 213: 行 201:
 c.EnvironmentKernelSpecManager.display_name_template = "{}" c.EnvironmentKernelSpecManager.display_name_template = "{}"
 </code> </code>
 +</WRAP>
  
 Jupyter Notebook を実行する。\\ Jupyter Notebook を実行する。\\
行 238: 行 227:
  
 Python の venv 仮想環境が選択出来るようになる。\\ Python の venv 仮想環境が選択出来るようになる。\\
-{{:python:jupyter_notebook_python_venv.png?800|Jupyter Notebook Python venv}}\\+{{python:jupyter_notebook_python_venv.png?800|Jupyter Notebook Python venv}}\\
  
 ==== Jupyter Notebook 拡張機能 ==== ==== Jupyter Notebook 拡張機能 ====
行 245: 行 234:
 (jupyter) > pip install jupyter-contrib-nbextensions jupyter-nbextensions-configurator (jupyter) > pip install jupyter-contrib-nbextensions jupyter-nbextensions-configurator
 </code> </code>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% #result_long>
 <code> <code>
 Collecting jupyter-contrib-nbextensions Collecting jupyter-contrib-nbextensions
行 316: 行 305:
 > jupyter contrib nbextension install --user > jupyter contrib nbextension install --user
 </code> </code>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% #result_long>
 <code> <code>
 [I 10:25:56 InstallContribNbextensionsApp] jupyter contrib nbextension install --user [I 10:25:56 InstallContribNbextensionsApp] jupyter contrib nbextension install --user
行 1056: 行 1045:
  
 **Nbextensions** が追加されるのでクリックする。\\ **Nbextensions** が追加されるのでクリックする。\\
-{{:python:jupyter_notebook_nbextensions_001.png?800|Jupyter Nbextensions 001}}\\+{{python:jupyter_notebook_nbextensions_001.png?800|Jupyter Nbextensions 001}}\\
  
 **[v] disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development)** のチェックを外す。\\  **[v] disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development)** のチェックを外す。\\ 
-{{:python:jupyter_notebook_nbextensions_002.png?800|Jupyter Nbextensions 002}}\\+{{python:jupyter_notebook_nbextensions_002.png?800|Jupyter Nbextensions 002}}\\
  
 === Hinterland (入力補完) を有効にする === === Hinterland (入力補完) を有効にする ===
 **[v] Hinterland** にチェックを入れる。\\ **[v] Hinterland** にチェックを入れる。\\
-{{:python:jupyter_notebook_nbextensions_003.png?800|Jupyter Nbextensions Hinterland}}\\+{{python:jupyter_notebook_nbextensions_003.png?800|Jupyter Nbextensions Hinterland}}\\
  
 Notebook を起動すると入力補完が有効になっている。\\ Notebook を起動すると入力補完が有効になっている。\\
-{{:python:jupyter_notebook_autocomplete.png?800|Jupyter Notebook Autocomplete}}\\+{{python:jupyter_notebook_autocomplete.png?800|Jupyter Notebook Autocomplete}}\\
  
 ===== 参考文献 ===== ===== 参考文献 =====
  • python/jupyter_notebook.txt
  • 最終更新: 2021/06/20 12:48
  • by ともやん