在Windows上使用IPython笔记本500服务器错误 [英] 500 server error using IPython notebook on Windows

查看:825
本文介绍了在Windows上使用IPython笔记本500服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Windows 7 Professional 64位上安装了全新的IPython笔记本。

I've just done a fresh install of IPython notebook on Windows 7 Professional 64 bit.

我采取的步骤是:


  1. http://python.org 安装Python 3.4.1

  2. > pip install ipython [notebook]

  3. > pip install pywin numpy pygments nodeenv

  1. Install Python 3.4.1 from http://python.org
  2. > pip install ipython[notebook]
  3. > pip install pywin numpy pygments nodeenv

我可以打开笔记本了。

I can open a notebook fine.

但是,当我选择文件>打印预览文件>以HTML格式下载我收到500服务器错误。

However, when I select File > Print Preview or File > Download as HTML I get a 500 server error.

堆栈跟踪是:

2014-08-07 09:44:25.431 [NotebookApp] Loaded template full.tpl
C:\Python34\lib\site-packages\IPython\nbconvert\filters\markdown.py:78: UserWarning: Node.js 0.9.12 or later wasn't found.
Nbconvert will try to use Pandoc instead.
  "Nbconvert will try to use Pandoc instead.")
WARNING:tornado.general:500 GET /nbconvert/html/Users/Tom%20Oakley/Documents/IPython%20test.ipynb?download=false (::1): nbconvert failed: you need to have pywin32 installed for this to work
ERROR:tornado.access:{
  "Dnt": "1",
  "User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36",
  "Referer": "http://localhost:8888/notebooks/Users/Tom%20Oakley/Documents/IPython%20test.ipynb",
  "Host": "localhost:8888",
  "Connection": "keep-alive",
  "Accept-Language": "en-US,en;q=0.8,en-GB;q=0.6",
  "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
  "Accept-Encoding": "gzip,deflate,sdch"
}
ERROR:tornado.access:500 GET /nbconvert/html/Users/Tom%20Oakley/Documents/IPython%20test.ipynb?download=false (::1) 156.01ms referer=http://localhost:8888/notebooks/Users/Tom%20Oakley/Documents/IPython%20test.ipynb
WARNING:tornado.access:404 GET /favicon.ico (::1) 1.00ms referer=None

安装node.js和Pandocs没有帮助。

Installing node.js and Pandocs did not help.

有关如何解决此错误的想法吗?

Any thoughts on how to fix this error?

I've raised it as an issue with the IPython team.

推荐答案

我最终安装了 Anaconda ,结果很有效。

I ended up installing Anaconda in the end and that worked.

这篇关于在Windows上使用IPython笔记本500服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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