Can't convert ipython notebook using Anaconda on Windows
Solution 1
pandoc
is not a python package. IPython\nbconvert\utils\pandoc.py
is not pandoc
itself, but merely a helper module.
For conda users, there is a pandoc
package available at conda-forge.
conda install -c conda-forge pandoc
Alternatively, you can download the latest release from the pandoc's github repository.
Solution 2
Once you have Pandoc installed you will have to add the directory that contains it to your PATH variable.
See this answer for details on how to do that.
theQman
Updated on June 15, 2022Comments
-
theQman almost 2 years
I have been running Anaconda for a few days. I can run a notebook by doing
ipython notebook
in command prompt. I'm now trying to convert a note book to latex or pdf by doingipython nbconvert --to latex mynotebook.ipynb
but I get the error `PandocMissing: Pandoc wasn't found.
along with many error messages. I have MikTex installed. I see
pandoc.py
in the folderC:\Users\Me\Anaconda\Lib\site-packages\IPython\nbconvert\utils
. What can the problem be?