首页
学习
活动
专区
圈层
工具
发布

nbconvert
EN

Stack Overflow用户
提问于 2017-10-21 17:18:22
回答 1查看 1.2K关注 0票数 3

最近,我升级了我计算机上的每一个Python库,并且我无法将我的笔记本从“木星”的“文件”菜单中转换出来。我收到这样的信息:

代码语言:javascript
复制
500 : Internal Server Error
The error was:
nbconvert failed: '.\cumulative chart (for ANE17 poster).ipynb' exists but is not a directory

我可以通过命令行进行转换,实际上这是可行的:

代码语言:javascript
复制
[NbConvertApp] Converting notebook .\cumulative chart (for ANE17 poster).ipynb to pdf
[NbConvertApp] Support files will be in cumulative chart (for ANE17 poster)_files\
[NbConvertApp] Making directory .\cumulative chart (for ANE17 poster)_files
[NbConvertApp] Making directory .\cumulative chart (for ANE17 poster)_files
[NbConvertApp] Writing 26403 bytes to .\notebook.tex
[NbConvertApp] Building PDF
[NbConvertApp] Running xelatex 3 times: ['xelatex', '.\\notebook.tex']
[NbConvertApp] Running bibtex 1 time: ['bibtex', '.\\notebook']
[NbConvertApp] WARNING | b had problems, most likely because there were no citations
[NbConvertApp] PDF successfully created
[NbConvertApp] Writing 43091 bytes to .\cumulative chart (for ANE17 poster).pdf

但是,木星和/或nbconvert以及/或Pandoc/MiKTex发生了什么呢?谢谢你的意见

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-10-30 12:23:12

事实上,木星重新安装后我也遇到了同样的问题。根据此页的说法,这是从5.2开始的notebook包的最新版本中的一个bug,应该在以后的版本中修复。目前,解决方案只是降低notebook包的级别,例如:

代码语言:javascript
复制
pip install -U "notebook<5.2"

至少对我有用。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46865927

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档