IPython笔记本不会产生输出 [英] IPython notebook does not produce output

查看:161
本文介绍了IPython笔记本不会产生输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在一台带有Windows 7(64位)的全新PC上通过Anaconda(64位)安装了IPython 2.0(2014年4月),执行了建议的更新并安装了一些带有$ conda install的软件包。

I have just installed IPython 2.0 (April 2014) through Anaconda (64 bit) on a brand new pc with windows 7 (64 bit), performed the updates suggested and installed some packages with "$ conda install ".

我正在使用firefox和chrome加载IPython笔记本。它们不是默认浏览器,因此我使用了以下答案中的信息: https://stackoverflow.com/a/15748692/2344958

I am loading IPython notebook with firefox and chrome. they are not the default browsers, so I used the information in this answer: https://stackoverflow.com/a/15748692/2344958

当我运行IPython Notebook时,它会显示登录页面并打开新的或导入的笔记本,但它不会为单元格生成任何输出。
我不知道。
我唯一能看到的是Web控制台报告传递给getElementById()的空字符串。

When I run IPython Notebook, it presents the landing pages and open new or imported notebooks, but it does not produce any output for cells. I have no clue. The only thing I can see is that the web console reports "Empty string passed to getElementById()."

控制台工作正常。

有什么建议吗?

推荐答案

我找到了一个描述我所遇问题的页面。
这里页面:
使用IPython Notebook获取输出

I found a page describing exactly the problem I had. here the page: Getting output with IPython Notebook

我实际上有Sophos,但我无法控制它,到目前为止的解决方案是启动IPython:

I actually have Sophos, but I have no control over it, and the solution that works so far was to start IPython with:

ipython notebook --ip=localhost

它还通过编辑配置文件中的行来工作
c.NotebookApp.ip ='localhost'

It also works by editing the line in configuration file c.NotebookApp.ip = 'localhost'

这篇关于IPython笔记本不会产生输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆