用jupyter notebook修改.md文件后,遇见的问题:Jupyter上无法保存md文件; FileNotFoundError: [Errno 2] No such file or direc

2023-05-16

回顾:github找的的学习资料进行学习,强行想要在jupyter notebook中阅读 .md 文件,参考链接Jupyter notebook 查看Markdown .md文件_tuzixini的博客-CSDN博客_jupyter 查看markdown

关键词来了:查看 ,查看,查看!!!不包括编辑修改,然后我在修改.md文件后,出现了各种奇奇怪怪的问题。

前置:jupyter notebook 出现问题时,可以Anaconda prompt 找报错的细节,好好利用!

问题一:自动保存失败,报错 Unexpected error while saving file xxx/README.md display_priority.j2

 解决方法:

jupyter notebook 出现unexcepted error while saving file…… display_priority.j2 导致无法保存_crud_player的博客-CSDN博客_jupyter无法保存文件找到报错地址 display_priority.tpl 所在文件夹,

原本第二行是  ‘display_priority.j2’ ,现在第二行改成下图所示'base/display_priority.j2'

 md就不会出错

问题二:用了两次过后,又无法存储了,这次报错的是:FileNotFoundError: [Errno 2] No such file or directory ‘E:\\xxx\\xxxx\\...\\.ipynb_checkpoints\\xxx.md’

 原因:分析报错显示找读到目录,观察

 FileNotFoundError: [Errno 2] No such file or directory: 'G:\\Dawnight\\机器学习\\吴恩达机器学习相关资料\\2022-Machine-Learning-Specialization-main\\One_Supervised Machine Learning Regression and Classification\\week1\\3.Practice Quiz Supervised vs unsupervised learning\\.ipynb_checkpoints\\Practice quiz Supervised vs unsupervised learning-checkpoint.md'

 我 .md文件所在位置,不在出现的目录下

G:\\Dawnight\\机器学习\\吴恩达机器学习相关资料\\2022-Machine-Learning-Specialization-main\\One_Supervised Machine Learning Regression and Classification\\week1\\3.Practice Quiz Supervised vs unsupervised learning\\Practice quiz Supervised vs unsupervised learning-checkpoint.md

大概了解了一些.ipynb_checkpoints 是 jupyter notebook用于对后缀为 .ipynb 自动缓存数据的一个文件夹【个人这么理解的】。

总结来说,在 jupyter notebook 打开 .md 文件,真没必要,明明有更舒适的 1.0版本以下的Typora编辑器,与其琢磨这个不如把时间安排在刀刃上。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

用jupyter notebook修改.md文件后,遇见的问题:Jupyter上无法保存md文件; FileNotFoundError: [Errno 2] No such file or direc 的相关文章

随机推荐