我安装了Anaconda 2.5 w / Python 2.7。在启动jupyter(捆绑在Anaconda中)时,没有检测到python内核。
Web服务器启动并侦听8888.浏览器笔记本编辑器工作正常。但是,我无法运行任何python代码。 “单元格”菜单未显示。
是否有配置文件或需要安装的东西?
以下是控制台的输出:
[I 21:32:27.625 NotebookApp] Serving notebooks from local directory: C:\Users\smilesydney
[I 21:32:27.625 NotebookApp] **0 active kernels**
[I 21:32:27.625 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 21:32:27.627 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
答案 0 :(得分:3)
我认为默认端口8888已被阻止。 对于单次发布,这应该有所帮助:
jupyter notebook --port=8889
修复永久运行:
jupyter notebook --generate-config
然后转到 ./ anaconda / 目录并添加
c = get_config()
c.NotebookApp.port = 8889
归档 jupyter_notebook_config.py
答案 1 :(得分:0)
我有同样的问题。重新安装ipython解决了这个问题。
答案 2 :(得分:0)
只需重新启动jupyter笔记本即可解决问题。
如果一次重启无效,请重新启动。
答案 3 :(得分:0)
我通过升级Anaconda中的Jupyter来解决此问题。
有关更多详细信息,请参见https://github.com/jupyter/notebook/issues/2382。