Can't convert ipython notebook using Anaconda on Windows

15,738

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.

Share:
15,738
theQman
Author by

theQman

Updated on June 15, 2022

Comments

  • theQman
    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 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?