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 doing ipython 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 folder C:\Users\Me\Anaconda\Lib\site-packages\IPython\nbconvert\utils
. What can the problem be?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With