差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
python:jupyter_notebook [2019/08/08 22:24] – [参考文献] ともやん | python:jupyter_notebook [2020/04/16 04:34] – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
- | <ifauth !@loggedinusers>< | ||
- | <script async src="// | ||
- | < | ||
- | | ||
- | google_ad_client: | ||
- | enable_page_level_ads: | ||
- | }); | ||
- | </ | ||
< | < | ||
< | < | ||
#result pre { | #result pre { | ||
+ | overflow: scroll; | ||
+ | overflow-x: hidden; | ||
+ | font-size: 10px; | ||
+ | } | ||
+ | # | ||
+ | height: 400px; | ||
+ | overflow: scroll; | ||
+ | overflow-x: hidden; | ||
+ | font-size: 10px; | ||
+ | } | ||
+ | # | ||
height: 200px; | height: 200px; | ||
overflow: scroll; | overflow: scroll; | ||
overflow-x: hidden; | overflow-x: hidden; | ||
+ | font-size: 10px; | ||
+ | } | ||
+ | .dokuwiki .wrap_left { | ||
+ | margin-right: | ||
+ | } | ||
+ | #logo { | ||
+ | background-color: | ||
+ | padding: 0 10px; | ||
+ | width: fit-content; | ||
+ | } | ||
+ | #logo p { | ||
+ | margin: 0; | ||
} | } | ||
</ | </ | ||
</ | </ | ||
====== Jupyter Notebook ====== | ====== Jupyter Notebook ====== | ||
- | {{: | + | <WRAP #logo> |
+ | {{: | ||
+ | </ | ||
本家: [[https:// | 本家: [[https:// | ||
ソースコード: | ソースコード: | ||
行 32: | 行 49: | ||
> pip install jupyter ipykernel | > pip install jupyter ipykernel | ||
</ | </ | ||
- | <WRAP prewrap 100% #result> | + | <WRAP prewrap 100% #result_long> |
< | < | ||
Collecting jupyter | Collecting jupyter | ||
行 199: | 行 216: | ||
**%HOMEPATH%\.jupyter\jupyter_notebook_config.py** を生成する。\\ | **%HOMEPATH%\.jupyter\jupyter_notebook_config.py** を生成する。\\ | ||
+ | <WRAP prewrap 100%> | ||
< | < | ||
(jupyter) > jupyter notebook --generate-config | (jupyter) > jupyter notebook --generate-config | ||
Writing default config to: C: | Writing default config to: C: | ||
</ | </ | ||
+ | </ | ||
**%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: | 行 233: | ||
c.EnvironmentKernelSpecManager.display_name_template = " | c.EnvironmentKernelSpecManager.display_name_template = " | ||
</ | </ | ||
+ | </ | ||
Jupyter Notebook を実行する。\\ | Jupyter Notebook を実行する。\\ | ||
行 245: | 行 266: | ||
(jupyter) > pip install jupyter-contrib-nbextensions jupyter-nbextensions-configurator | (jupyter) > pip install jupyter-contrib-nbextensions jupyter-nbextensions-configurator | ||
</ | </ | ||
- | <WRAP prewrap 100% #result> | + | <WRAP prewrap 100% #result_long> |
< | < | ||
Collecting jupyter-contrib-nbextensions | Collecting jupyter-contrib-nbextensions | ||
行 316: | 行 337: | ||
> jupyter contrib nbextension install --user | > jupyter contrib nbextension install --user | ||
</ | </ | ||
- | <WRAP prewrap 100% #result> | + | <WRAP prewrap 100% #result_long> |
< | < | ||
[I 10:25:56 InstallContribNbextensionsApp] jupyter contrib nbextension install --user | [I 10:25:56 InstallContribNbextensionsApp] jupyter contrib nbextension install --user |