1 Ipython 安裝
pip install ipython
## 啟動ipython使用ipython
啟動notebook 使用ipython notebook
#3 遠端使用Ipython notebook 的設定方法
#411 ## 3.0 建立遠端服務
ipython profile create myserver 位置
3.1 設定openssl 認證
##此時會輸出產生的sha 的值, 請記住輸出
c = get_config() # Kernel config c.IPKernelApp.pylab = 'inline' # if you want plotting support always # Notebook config c.NotebookApp.certfile = u'/home/XXX/.ipython/mycert.pem' ##认证的位置 c.NotebookApp.ip = '*' c.NotebookApp.open_browser = False c.NotebookApp.password = u'sha1:XXXX' ## 认证输出的sha值 # It's a good idea to put it on a known, fixed port c.NotebookApp.port = 9999
ipython notebook --profile=nbserver
###3.4 遠端連線Ipython NoteBook# ###########開啟本機瀏覽器存取遠端noteBook 位址就行,記住連接埠號碼是9999###############更多iPython與notevook的基本用法介紹相關文章請關注PHP中文網! ###