jupyter notenook 报错n `template_path` not recognized by `LenvsSlidesExporter`. Did you mean one of:

jupyter notenook 报错n template_path not recognized by LenvsSlidesExporter. Did you mean one of: extra_template_paths, template_name, template_paths?

Config option template_path not recognized by LenvsSlidesExporter. Did you mean one of: extra_template_paths, template_name, template_paths?

在启动 notebook进入一个项目运行时候

image.png

启动是没有问题,但是到网页打开的时候,输入

image.png

这个,运行不了,上面是这边解决了报错后面运行的截图,没有解决之间就一直卡在了那里,运行不了

Config option template_path not recognized by LenvsSlidesExporter. Did you mean one of: extra_template_paths, template_name, template_paths?

cmd窗口就一直报上面的这个错误,notebook,新建一个ipynb文件都不可以

image.png

  • 原因是nbconvert6.0.0版本以上的某些参数的名称发生了更改,与原先版本不兼容,需要将版本降低到5.6.1
  • 如果使用如下命令,则会报错找不到这个模块,我灵机一动,直接去官网找下载

在cmd窗口用下面命令下载

pip install nbconvert==5.6.1 -i https://pypi.mirrors.ustc.edu.cn/simple

image.png

但是我这里,用6.0.7的版本就可以了,把原来的6.5.0的版本卸载掉就行

image.png

红色的报错是前台依赖问题,不影响这个。


版权声明:本文为Deng872347348原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。