您的位置:首页 > 编程语言 > Python开发

Ipython notebook

2015-08-26 13:57 465 查看

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.server
my.server:$ cd /folder/containing/my/notebooks
my.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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: