IPython/Jupyter Problems saving notebook as PDF

So, i’ve been trying to save a jupyter notebook as PDF but i just can’t figure out how to do this. The first thing i try is from the file menu just download as PDF, but doing that results in:

nbconvert failed: PDF creating failed

the next thing i try is try to do the conversion from the Command Prompt like this

$ ipython nbconvert --to latex --post PDF MyNotebook.ipynb 

but again, this results in an error message

ImportError: No module named 'PDF'

and if i try

$ ipython nbconvert --to latex MyNotebook.ipynb 

this results in

IPython.nbconvert.utils.pandoc.PandocMissing: Pandoc wasn't found:
Please check that pandoc is installed

if i try to install pandoc (pip install pandoc), this gives me

ImportError: No module named 'ConfigParser'

and this is where i get stuck because i just don’t know what else to do. Anyone have idea how to fix whatever is wrong?

Leave a Comment