Ipython notebook

来源:互联网 发布:mac怎么编辑html 编辑:程序博客网 时间:2024/04/28 13:35

Remote access

Running an Ipython notebook kernel from remote server, access from local browser, probably for multiple users.

The simple way for single user link

at-home:~$ ssh -X -L 8889:localhost:8888 my.server... login message from my.servermy.server:$ cd /folder/containing/my/notebooksmy.server:$ ipython notebook --no-browser[NotebookApp] .... lots of info about the IPython notebook server including[NotebookApp] The IPython notebook is running at 'http://127.0.0.1:8888/'

Then you can access the notebook from http://localhost:8889/ at local browser. It should support python plot separately instead of %matplotlib inline, but does not work for me. ref

The more robust way is link separating notebook kernel process from browser access connection.

0 0
原创粉丝点击