推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
Boristype000
V2EX  ›  Python

想在 windows 下的浏览器运行 ubuntu bash 的 jupyter notebook,有什么解决方法?

  •  
  •   Boristype000 · Aug 4, 2016 · 8502 views
    This topic created in 3749 days ago, the information mentioned may be changed or developed.

    在 bash 里安装了 jupyter notebook ,想在 windows 下的 chrome 运行。

    17 replies  •  2018-05-06 23:20:09 +08:00
    lll9p
    lll9p
    Aug 4, 2016
    1
    没这么干过..直接访问 localhost:8888 不行?
    mhohai
    mhohai
    Aug 4, 2016
    2
    这么能折腾,为啥还用 Windows ,看不下去了都。。。
    cxyfreedom
    cxyfreedom
    Aug 4, 2016
    4
    用 anaconda 吧,自带 Jupyter Notebook
    Boristype000
    Boristype000
    OP
    Aug 4, 2016
    5
    @lll9p 好像直接在 windows 的 chrome 这样是不行的
    @kamushin 不知道 bash 能不能端口转发呢?
    Boristype000
    Boristype000
    OP
    Aug 4, 2016
    6
    @cxyfreedom 主要是想用 tensorflow 。。这玩意儿只能运行在 linux 上,这不巨硬正好更新 ubuntu in Windows ,我在 bash 里面装好 tf 之后,想用 windows 的浏览器来交互,但是不大清除要怎么转发出来。大概是这么回事。。不好意思没解释清楚
    zavior
    zavior
    Aug 4, 2016
    7
    jupyter notebook --ip 0.0.0.0
    bdbai
    bdbai
    Aug 4, 2016 via Android
    8
    我记得 Bash on Windows 宣传说,子系统和外部共用端口,直接监听就可以。现在不知道如何。
    Boristype000
    Boristype000
    OP
    Aug 4, 2016
    9
    @zavior 好像的确可以通信,但是用了一运行就提示 kernel died 然后无限 restart ,不大知道怎么办
    Boristype000
    Boristype000
    OP
    Aug 4, 2016
    10
    @zavior The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the notebook is reopened.
    Boristype000
    Boristype000
    OP
    Aug 4, 2016
    11
    好像找到了原因,是因为 bash 的问题
    https://github.com/jupyter/notebook/issues/1331
    srlp
    srlp
    Aug 4, 2016 via iPhone
    12
    @Boristype000 老实说,你这种情况下应该尝试一下 docker 呃
    tumb8r
    tumb8r
    Aug 4, 2016
    13
    right ,用 anaconda ,然后 cmd 输入: ipython jupter
    dvorak4tzx
    dvorak4tzx
    Aug 4, 2016
    14
    要端口映射到本地,我正好写了博客:[远程使用 Jupyter Notebook]( http://tangzx.qiniudn.com/post-0109-remote-jupyter.html )
    Boristype000
    Boristype000
    OP
    Aug 4, 2016
    15
    @srlp 这不巨硬大法嘛。。如果太折腾还是弄 docker 算了
    winooxx
    winooxx
    Aug 4, 2016
    16
    Bash on Ubuntu on Windows 的网络栈还未完善,你 ping 或者 mtr 一下就知道拿不到 raw socket 了
    Wvvi
    Wvvi
    May 6, 2018
    17
    我的 juputer notebook 服务在 ubuntu on windows 完好启动,可以把 url 粘贴到本地浏览器却没法打开了,请问楼主有没有碰到这样的情况,或者有什么好的办法可以解决呢?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1055 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 22:56 · PVG 06:56 · LAX 14:56 · JFK 17:56
    ♥ Do have faith in what you're doing.