【问题标题】:How to start Ipython notebook nbserver when it is this blue?当它是蓝色时如何启动Ipython notebook nbserver?
【发布时间】:2014-10-08 09:42:30
【问题描述】:

下面是运行后在终端中看到的图片

ipython notebook --profile=nbserver

我从来没有见过这个,所以请帮忙。笔记本的配置文件如下:

c = get_config()
c.NotebookApp.open_browser = False
c.NotebookApp.certfile = u'/home/jack/certificates/mycert.pem'
c.NotebookApp.password = u'sha1:412341839uw9qfjewf8qewunq8eu8nu0fqef'
c.NotebookApp.port = 1024
c.NotebookApp.ip = '*'
c.IPKernelApp.pylab = 'inline'

任何帮助将不胜感激,谢谢。奇怪的是,即使我将端口设置为 1024,它仍然使用端口 8888(见图)。

【问题讨论】:

    标签: javascript ipython ipython-notebook


    【解决方案1】:

    尝试添加标志--no-browser 以获取日志。配置文件似乎不起作用,您编辑的是哪个文件(.ipython/profile_default/ipython_notebook_config.py 而不是.ipython/profile_nbserver/ipython_notebook_config.py?)?你看到的只是一个终端浏览器,比如links

    您的 IPython notebook 已经正确启动,只需打开 firefox 或其他任何东西到 http(s)://:port/

    【讨论】:

    • 我在配置文件中犯了一些基本的缩进错误,所以指定的端口和无浏览器被忽略了。现在已经整理好了。谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多