报错问题
No pandoc was found: either install pandoc and add it to your PATH or or call pypandoc.download_pandoc(...) or install pypandoc wheels with included pandoc
解决办法1:
####参考链接:关于python用pypandoc问题(python3)(探索ing)
windows:本地进入pypandoc的init包里将stdout.decode(‘utf-8’)改为stdout
linux:pip show pypandoc 查找一下包的路径,我这里是
然后将pypandoc的init包里将stdout.decode(‘utf-8’)改为stdout
解决办法2:
安装pandoc
sudo apt install pandoc (输入pandoc没报错即安装成功)
然后 whereis pandoc (我的是/usr/bin/pandoc)
进入bin目录:cd /usr/bin
给权限:sudo chmod 755 pandoc(sudo chmod +X pandoc)[ps:我是用这个方法解决的]