Convert ipynb to pdf in Jupyter

后端 未结 9 1279
臣服心动
臣服心动 2021-01-31 08:23

I am new to ipython notebook, and I would like to convert my ipynb to pdf. But I get the following error when I try to Download as PDF via LaTex.

nbconvert faile         


        
9条回答
  •  攒了一身酷
    2021-01-31 09:13

    For Mac OS X, the solution for me was to install MacTex first and then export the path to find it:

    ### TeX
    export PATH="/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin:$PATH"
    

    You can add this to your .bash_profile or similar config file to load it every time.

    See more here https://github.com/jupyter/nbconvert/issues/406

提交回复
热议问题