IT練習ノート

IT関連で調べたこと(実際は嵌ったこと)を書いています。

jupyter(iPython notebook)を使ってみる

Anacondaをインストールしたら結果的に入っていた。

f:id:naotoogawa:20150829200826p:plain

(root):test01 foo$ pyenv version
anaconda3-2.3.0 (set by /Users/foo/.pyenv/version)
(root):test01 foo$ 

(root):test01 fii$ ipython notebook
[I 19:49:42.714 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 19:49:42.743 NotebookApp] Serving notebooks from local directory: /Users/foo/python/test01
[I 19:49:42.743 NotebookApp] 0 active kernels 
[I 19:49:42.743 NotebookApp] The IPython Notebook is running at: http://localhost:8888/
[I 19:49:42.743 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 19:49:55.657 NotebookApp] Saving file at /jupyter01.py.ipynb
[I 19:50:07.643 NotebookApp] Creating new notebook in 
[I 19:50:09.595 NotebookApp] Kernel started: a3cd35a1-d3eb-46f9-8252-c23930adf5e0
[I 19:52:09.802 NotebookApp] Saving file at /Untitled1.ipynb
[I 19:54:10.801 NotebookApp] Saving file at /Untitled1.ipynb
[I 20:04:24.817 NotebookApp] Saving file at /Untitled1.ipynb
[I 20:05:22.881 NotebookApp] Copying Untitled1.ipynb to 
[I 20:05:23.352 NotebookApp] Kernel started: fec64fca-3028-4df2-8292-5d96b6654d6e

^C[I 20:10:20.263 NotebookApp] interrupted
Serving notebooks from local directory: /Users/foo/python/test01
2 active kernels 
The IPython Notebook is running at: http://localhost:8888/
Shutdown this notebook server (y/[n])? y
[C 20:10:22.696 NotebookApp] Shutdown confirmed
[I 20:10:22.696 NotebookApp] Shutting down kernels
[I 20:10:23.308 NotebookApp] Kernel shutdown: a3cd35a1-d3eb-46f9-8252-c23930adf5e0
[I 20:10:23.309 NotebookApp] Kernel shutdown: fec64fca-3028-4df2-8292-5d96b6654d6e