Skip to content

Instantly share code, notes, and snippets.

@mountcedar
Created May 7, 2014 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mountcedar/5cff2b117aa25b3ba2a1 to your computer and use it in GitHub Desktop.
Save mountcedar/5cff2b117aa25b3ba2a1 to your computer and use it in GitHub Desktop.
ipythonをMavericksに入れてみた ref: http://qiita.com/mountcedar/items/fbf57bbc21a7fb820f06
$ pip install ipython
$ 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]:
$ pip install pyzmq
$ pip install tornado
$ pip install jinja2
$ ipython notebook
$ ipython profile create nbserver
# 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
$ ipython
In [1]: from IPython.lib import password
password()
$ ipython notebook —profile=nbserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment