本文介绍了Windows上的Jupyter和Anaconda将无法运行单元的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows 7(64位)上的Python 2.7.11下为Anaconda 2.3.0(64位)运行Jupyter Notebook. Jupyter没有显示语法突出显示,并且笔记本没有连接到内核,但是不清楚原因.我在Chrome上运行.

I'm trying to run Jupyter Notebook for Anaconda 2.3.0 (64-bit) on Windows 7 (64-bit), under Python 2.7.11. Jupyter is not displaying syntax highlighting and the notebook isn't connected to the kernel, but it's not clear why. I'm running on Chrome.

小型NotebookApp(从Windows CMD或从Anaconda命令行)给出"zmq消息到达封闭通道"消息.我不清楚这是否相关.

Small NotebookApp (from Windows CMD or from Anaconda command line) gives a "zmq message arrived on closed channel" message. I'm not clear if that's relevant.

更大的修改:根据以下注释,我设置了c.NotebookApp.port = 8889.

Bigger Based on comments below, I set c.NotebookApp.port = 8889.

推荐答案

标准端口8888似乎不可用/被阻止.试试:

Looks like the standard port 8888 is not available/blocked. Try:

jupyter notebook --port=8889

您为端口尝试使用其他编号,例如88908891等.

You my try a different number for the port such as 8890, 8891etc.

这篇关于Windows上的Jupyter和Anaconda将无法运行单元的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 12:52
查看更多