jupyter notebook如何打开md文件,以及notedown安装时报错的处理办法

jupyter notebook如何打开md文件,以及notedown安装时报错的处理办法

具体方法下面这个文章中已经写的很清楚了,包含在windows10中应该如何操作等。

jupyter notebook如何打开md文件

ERROR: Command errored out with exit status 1:
     command: 'D:\ProgramData\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\oscar\\AppData\\Local\\Temp\\pip-install-xm97nxwp\\pandoc-attributes\\setup.py'"'"'; __file__='"'"'C:\\Users\\oscar\\AppData\\Local\\Temp\\pip-install-xm97nxwp\\pandoc-attributes\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\oscar\AppData\Local\Temp\pip-pip-egg-info-ez11eow6'
         cwd: C:\Users\oscar\AppData\Local\Temp\pip-install-xm97nxwp\pandoc-attributes\
    Complete output (9 lines):
    C:\Users\oscar\AppData\Local\Temp\pip-install-xm97nxwp\pandoc-attributes\setup.py:5: DeprecationWarning: Due to possible ambiguity, 'convert()' is deprecated. Use 'convert_file()'  or 'convert_text()'.
      long_description = pypandoc.convert('README.md', 'rst')
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\oscar\AppData\Local\Temp\pip-install-xm97nxwp\pandoc-attributes\setup.py", line 5, in <module>
        long_description = pypandoc.convert('README.md', 'rst')
      File "D:\ProgramData\Anaconda3\lib\site-packages\pypandoc\__init__.py", line 65, in convert
        raise RuntimeError("Format missing, but need one (identified source as text as no "
    RuntimeError: Format missing, but need one (identified source as text as no file with that name was found).
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

但其中在安装notedown时,程序报错,原因是安装pandoc-attributes-0.1.7时的报错。
经过研究发现是其中的安装包的setup.py文件中写描述的语句报错,考虑不影响功能,将其注释后优先安装此包,再安装notedown即可。
在这里插入图片描述
参考链接:https://blog.csdn.net/handsomeandge/article/details/110052319

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值