Created
May 7, 2014 06:40
-
-
Save mountcedar/5cff2b117aa25b3ba2a1 to your computer and use it in GitHub Desktop.
ipythonをMavericksに入れてみた ref: http://qiita.com/mountcedar/items/fbf57bbc21a7fb820f06
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pip install ipython |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ipython | |
Python 2.7.3 (default, Nov 1 2013, 14:34:21) | |
Type "copyright", "credits" or "license" for more information. | |
IPython 2.0.0 -- An enhanced Interactive Python. | |
? -> Introduction and overview of IPython's features. | |
%quickref -> Quick reference. | |
help -> Python's own help system. | |
object? -> Details about 'object', use 'object??' for extra details. | |
In [1]: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pip install pyzmq | |
$ pip install tornado | |
$ pip install jinja2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ipython notebook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ipython profile create nbserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kernel config | |
c.IPKernelApp.pylab = 'inline' # if you want plotting support always | |
# Notebook config | |
c.NotebookApp.certfile = u'/absolute/path/to/your/certificate/mycert.pem' | |
c.NotebookApp.ip = '*' | |
c.NotebookApp.open_browser = False | |
c.NotebookApp.password = u'sha1:bcd259ccf...your hashed password here' | |
# It's a good idea to put it on a known, fixed port | |
c.NotebookApp.port = 9999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ipython | |
… | |
In [1]: from IPython.lib import password | |
password() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ipython notebook —profile=nbserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment