【问题标题】:Jupyter notebook not opening in browserJupyter 笔记本无法在浏览器中打开
【发布时间】:2017-02-07 11:31:04
【问题描述】:

我正在使用 Jupyter Notebook 版本:4.3.1 我创建了一个新环境并在其中安装了 jupyter notebook,在使用命令jupyter notebook 启动 notebook 后,我得到以下输出,然后尝试打开浏览器中的链接会给出以下输出。

(tflearn) C:\Users\himan\DLND\Week2\sentiment-analysis>jupyter notebook
[I 07:22:07.563 NotebookApp] Serving notebooks from local directory: C:\Users\himan\DLND\Week2\sentiment-analysis
[I 07:22:07.563 NotebookApp] 0 active kernels
[I 07:22:07.563 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/?token=2ece159979892d1e04be5e2db2ff06c479f75faba3dc1e02
[I 07:22:07.563 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 07:22:07.569 NotebookApp]

    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        http://localhost:8888/?token=2ece159979892d1e04be5e2db2ff06c479f75faba3dc1e02

之前一切正常,但最近开始,我尝试使用不同的端口,如 8889、8890,运行 2 或 3 次后它们也停止工作。 我在 Windows 10 上使用 anaconda。

我尝试了类似的问题,但它们对我不起作用。任何帮助将不胜感激。
谢谢

【问题讨论】:

  • 您是否尝试过不使用令牌连接到localhost:8888
  • @timleathart 是的,我试过了,它在浏览器中提供了相同的屏幕

标签: python-3.x jupyter-notebook


【解决方案1】:

这解决了我的问题:

conda 更新 nb_conda nb_conda_kernels nb_anacondacloud

【讨论】: